00001 // -*- Mode: C++; tab-width: 2; -*- 00002 // vi: set ts=2: 00003 // 00004 00005 #ifndef BALL_COMMON_INIT_H 00006 #define BALL_COMMON_INIT_H 00007 00008 #ifndef BALL_COMMON_GLOBAL_H 00009 #include <BALL/COMMON/global.h> 00010 #endif 00011 00012 namespace BALL 00013 { 00022 class BALL_EXPORT GlobalInitializer 00023 { 00024 public: 00025 ~GlobalInitializer(); 00026 static GlobalInitializer* init(); 00027 00028 private: 00029 GlobalInitializer(); 00030 GlobalInitializer(const GlobalInitializer& gi); 00031 }; 00032 } 00033 00034 #endif // BALL_COMMON_INIT_H