Removed autotools cruft.
[libsex.git] / source / declare.hxx
blob5005b458a82b612da448840ed5af5235ebd44313
1 /**
2 * @file
4 * Macro @ref LIBSEX_DECLARE.
5 */
7 #ifndef LIBSEX_DECLARE_HXX
8 #define LIBSEX_DECLARE_HXX
10 #include <source/Exception.hxx>
12 /// Macro for declaring exception classes (.hxx).
13 #define LIBSEX_DECLARE(parent, name) \
14 class name : public parent\
16 public:\
17 static const char* const TEMPLATE;\
18 name(const char* const errorMessage);\
19 name(\
20 const char* const errorMessage,\
21 const libsex::Exception& previous);\
24 #endif