Dummy information in SendObject
This commit is contained in:
@@ -26,9 +26,9 @@ namespace connector::interfac::browser::bridge {
|
||||
// MARK: - Public variables
|
||||
|
||||
///The root object id which should be used for creating the version
|
||||
speckle::utility::String id;
|
||||
speckle::utility::String id = "1234";
|
||||
///The total number of children
|
||||
int32_t totalChildrenCount;
|
||||
int32_t totalChildrenCount = 0;
|
||||
///JSON batches for the root object and child (detached) objects
|
||||
std::vector<speckle::utility::String> batches;
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ namespace {
|
||||
serverID,
|
||||
accID,
|
||||
messageID,
|
||||
sendObjectID,
|
||||
};
|
||||
|
||||
///Serialisation field IDs
|
||||
@@ -35,6 +36,7 @@ namespace {
|
||||
Identity{"serverUrl"},
|
||||
Identity{"accountId"},
|
||||
Identity{"message"},
|
||||
Identity{"sendObject"},
|
||||
};
|
||||
|
||||
}
|
||||
@@ -102,6 +104,8 @@ Cargo::Unique SendViaBrowserArgs::getCargo(const active::serialise::Inventory::I
|
||||
return std::make_unique<StringWrap>(accountID);
|
||||
case messageID:
|
||||
return std::make_unique<StringWrap>(message);
|
||||
case sendObjectID:
|
||||
return std::make_unique<PackageWrap>(sendObject);
|
||||
default:
|
||||
return nullptr; //Requested an unknown index
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user