Generate EntryEvent to get things building again. Add EntryUpdatedEvent for completeness.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6282 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#include "presents/stable.h"
|
||||
#include "EntryUpdatedEvent.h"
|
||||
|
||||
using namespace presents::dobj;
|
||||
|
||||
DEFINE_STREAMABLE("com.threerings.presents.dobj.EntryUpdatedEvent", EntryUpdatedEvent);
|
||||
|
||||
void EntryUpdatedEvent::readObject (ObjectInputStream& in)
|
||||
{
|
||||
presents::dobj::EntryEvent::readObject(in);
|
||||
entry = boost::static_pointer_cast<Streamable>(in.readObject());
|
||||
}
|
||||
|
||||
void EntryUpdatedEvent::writeObject (ObjectOutputStream& out) const
|
||||
{
|
||||
presents::dobj::EntryEvent::writeObject(out);
|
||||
out.writeObject(entry);
|
||||
}
|
||||
Reference in New Issue
Block a user