(no commit message)
authorJens Thiele <jens.thiele@intra2net.com>
Mon, 20 Nov 2006 15:19:43 +0000 (15:19 +0000)
committerJens Thiele <jens.thiele@intra2net.com>
Mon, 20 Nov 2006 15:19:43 +0000 (15:19 +0000)
codegen/codegen-stubhead.hxx [new file with mode: 0644]

diff --git a/codegen/codegen-stubhead.hxx b/codegen/codegen-stubhead.hxx
new file mode 100644 (file)
index 0000000..465ef15
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef MINIMALISTIC_STUB_HXX
+#define MINIMALISTIC_STUB_HXX
+
+#include <boost/archive/binary_oarchive.hpp>
+#include <boost/archive/binary_iarchive.hpp>
+#include <boost/archive/xml_oarchive.hpp>
+#include <boost/archive/xml_iarchive.hpp>
+#include <boost/serialization/serialization.hpp>
+#include <boost/serialization/string.hpp>
+
+#include <string>
+#include <t2n_exception.hxx>
+#include <command.hxx>
+
+#ifdef __GCCXML__
+#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; }
+#define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
+#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group)))
+#else
+#define LIBT2N_SET_DEFAULTGROUP(x)
+#define LIBT2N_EXPORT
+#define LIBT2N_EXPORT_GROUP(group)
+#endif