Implemented interactions with storage class
This commit is contained in:
parent
7d60d579b6
commit
6d4383273b
2 changed files with 40 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ public:
|
|||
unsigned int capacity();
|
||||
const QVector<cargo_entity> cargo();
|
||||
|
||||
void add_cargo(cargo_entity object, bool &success);
|
||||
cargo_entity get_cargo(unsigned long long oid, bool &found);
|
||||
void withdraw_cargo(unsigned long long oid, bool &success);
|
||||
|
||||
void serialize(QDataStream &output);
|
||||
void deserialize(QDataStream &input);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue