#ifndef __LIBT2N_COMMAND
#define __LIBT2N_COMMAND
+#include <iostream>
+
#include <boost/serialization/serialization.hpp>
-#include <boost/serialization/export.hpp>
+#include <boost/serialization/tracking.hpp>
namespace libt2n
{
};
}
//BOOST_IS_ABSTRACT(libt2n::result)
+BOOST_CLASS_TRACKING(libt2n::result, boost::serialization::track_never)
namespace libt2n
{
friend class boost::serialization::access;
template<class Archive>
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