diff options
Diffstat (limited to 'tests/modules/Common.hpp')
-rwxr-xr-x | tests/modules/Common.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/modules/Common.hpp b/tests/modules/Common.hpp deleted file mode 100755 index e5c0624..0000000 --- a/tests/modules/Common.hpp +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef __COMMON_H -#define __COMMON_H - -#include "Singleton.hpp" -#include "Exportable.hpp" - -#include <iostream> -#include <string> - -using namespace std; - -class Common : public Singleton< Common > -{ - private: - string m_name; - - public: - Common( ) : m_name( "noname" ) { cout << "Created common object" << endl; } - virtual ~Common( ) { cout << "Destroyed common object" << endl; } - void setName( string name ) { m_name = name; } - void print( string s ) { cout << m_name << ": " << s << endl; } -}; - -SINGLETON_EXTERN template class SINGLETON_EXPORT Singleton< Common >; - -#endif |