mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-27 23:57:38 -04:00
created .cc files for serialization
This commit is contained in:
parent
b52071d0c9
commit
ddbe2ef9a1
6 changed files with 82 additions and 259 deletions
|
@ -122,7 +122,10 @@ class RsItem: public RsMemoryManagement::SmallObject
|
|||
*/
|
||||
typedef enum { SIZE_ESTIMATE = 0x01, SERIALIZE = 0x02, DESERIALIZE = 0x03} SerializeJob ;
|
||||
|
||||
virtual void serial_process(SerializeJob j,SerializeContext& ctx) = 0;
|
||||
virtual void serial_process(SerializeJob j,SerializeContext& ctx)
|
||||
{
|
||||
std::cerr << "(EE) RsItem::serial_process() called by an item using new serialization classes, but not derived! " << std::endl;
|
||||
}
|
||||
|
||||
private:
|
||||
uint32_t type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue