1f010f0a4e
It provides code generators for streamables, services and receivers, but not DObject. It uses Apple's CFNetwork for its sockets and builds with XCode, so it's limited to OS X and iOS. It should be straightforward to replace both to make it cross-platform. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6264 542714f4-19e9-0310-aa3c-eee0fc999fb1
19 lines
510 B
C++
19 lines
510 B
C++
#include "presents/stable.h"
|
|
#include "EntryRemovedEvent.h"
|
|
|
|
using namespace presents::dobj;
|
|
|
|
DEFINE_STREAMABLE("com.threerings.presents.dobj.EntryRemovedEvent", EntryRemovedEvent);
|
|
|
|
void EntryRemovedEvent::readObject (ObjectInputStream& in)
|
|
{
|
|
presents::dobj::NamedEvent::readObject(in);
|
|
key = boost::static_pointer_cast<Streamable>(in.readObject());
|
|
}
|
|
|
|
void EntryRemovedEvent::writeObject (ObjectOutputStream& out) const
|
|
{
|
|
presents::dobj::NamedEvent::writeObject(out);
|
|
out.writeObject(key);
|
|
}
|