22 #ifndef FIFE_SINGLETON_H
23 #define FIFE_SINGLETON_H
25 #define SINGLEFRIEND(classname) friend class FIFE::StaticSingleton<classname>; classname(); virtual ~classname();
36 #include "fifeclass.h"
47 static T* instance() {
84 static T* instance() {
91 m_instance =
static_cast<T*
>(
this);