(no commit message)
[libt2n] / codegen / codegen-stubhead.hxx
... / ...
CommitLineData
1#ifndef MINIMALISTIC_STUB_HXX
2#define MINIMALISTIC_STUB_HXX
3
4#include <boost/archive/binary_oarchive.hpp>
5#include <boost/archive/binary_iarchive.hpp>
6#include <boost/archive/xml_oarchive.hpp>
7#include <boost/archive/xml_iarchive.hpp>
8#include <boost/serialization/serialization.hpp>
9#include <boost/serialization/string.hpp>
10
11#include <string>
12#include <t2n_exception.hxx>
13#include <command.hxx>
14
15#ifdef __GCCXML__
16#define LIBT2N_SET_DEFAULTGROUP(x) namespace { typedef __attribute((gccxml(#x))) int libt2n_default; }
17#define LIBT2N_EXPORT __attribute((gccxml("libt2n-default")))
18#define LIBT2N_EXPORT_GROUP(group) __attribute((gccxml("libt2n-"#group)))
19#else
20#define LIBT2N_SET_DEFAULTGROUP(x)
21#define LIBT2N_EXPORT
22#define LIBT2N_EXPORT_GROUP(group)
23#endif