summaryrefslogtreecommitdiff
path: root/tests/modules/libcommon/Common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/libcommon/Common.hpp')
-rwxr-xr-xtests/modules/libcommon/Common.hpp26
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