#ifndef _Testsingleton_H__ #define _Testsingleton_H__ #include "util/Singleton.h" #include "core/object/Listable.h" namespace orxonox { class Testsingleton : public Singleton, public Listable { friend class Singleton; public: Testsingleton(); int getValue() const { return this->value_; } private: int value_; static Testsingleton* singletonPtr_s; }; } #endif /* _Testsingleton_H__ */