973ec8faf8
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6282 542714f4-19e9-0310-aa3c-eee0fc999fb1
19 lines
514 B
C++
19 lines
514 B
C++
#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);
|
|
}
|