X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand.hxx;fp=src%2Fcommand.hxx;h=ce67ebe0cb3051b079cf07fda7151c5f942deea8;hp=98f5004a2858be43743cfffac97a2df8da415a0c;hb=d184c64894e6c4f3adb9467078acfc9e7446664a;hpb=7087e18783f91d2b889e880462d1d1da24831c28 diff --git a/src/command.hxx b/src/command.hxx index 98f5004..ce67ebe 100644 --- a/src/command.hxx +++ b/src/command.hxx @@ -19,8 +19,10 @@ #ifndef __LIBT2N_COMMAND #define __LIBT2N_COMMAND +#include + #include -#include +#include namespace libt2n { @@ -41,6 +43,7 @@ class result }; } //BOOST_IS_ABSTRACT(libt2n::result) +BOOST_CLASS_TRACKING(libt2n::result, boost::serialization::track_never) namespace libt2n { @@ -52,16 +55,18 @@ class command friend class boost::serialization::access; template void serialize(Archive & ar, const unsigned int version) - { } + { + std::cerr << "ser: command" << std::endl; + } public: /// this calls the wanted target function on the server - virtual result* operator()() = 0; + virtual result* operator()()=0; virtual ~command() {} }; } // namespace libt2n //BOOST_IS_ABSTRACT(libt2n::command) - +BOOST_CLASS_TRACKING(libt2n::command, boost::serialization::track_never) #endif