diff options
Diffstat (limited to 'tests/modules/libcommon/Common.hpp')
-rwxr-xr-x | tests/modules/libcommon/Common.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/modules/libcommon/Common.hpp b/tests/modules/libcommon/Common.hpp new file mode 100755 index 0000000..22ca5a2 --- /dev/null +++ b/tests/modules/libcommon/Common.hpp @@ -0,0 +1,26 @@ +#ifndef __COMMON_H +#define __COMMON_H + +#include "Singleton.hpp" +#include "CommonExportable.hpp" + +#include <string> + +using namespace std; + +class Common : public Singleton< Common > +{ + public: + DECLARE_SINGLETON( Common ) + + public: + Common( ); + virtual ~Common( ); + void setName( string name ); + void print( string s ); + + private: + string m_name; +}; + +#endif |