Changeset 9423 in orxonox.OLD for branches/terrain/src/util
- Timestamp:
- Jul 24, 2006, 2:27:39 PM (18 years ago)
- Location:
- branches/terrain/src/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/util/signal_handler.cc
r9406 r9423 19 19 SignalHandler * SignalHandler::singletonRef = NULL; 20 20 21 #if ndef __WIN32__21 #ifdef __LINUX__ 22 22 23 23 #include <wait.h> -
branches/terrain/src/util/signal_handler.h
r9406 r9423 12 12 typedef int (*SignalCallback)( void * someData ); 13 13 14 #if ndef __WIN32__14 #ifdef __LINUX__ 15 15 #include <signal.h> 16 16 … … 63 63 public: 64 64 inline static SignalHandler* getInstance() { if (!SignalHandler::singletonRef) SignalHandler::singletonRef = new SignalHandler(); return SignalHandler::singletonRef; }; 65 void doCatch( std::string appName ) {};66 void dontCatch() {};65 void doCatch( const std::string & appName, const std::string & fileName ) {} 66 void dontCatch() {} 67 67 void registerCallback( SignalCallback cb, void * someData ) {}; 68 68
Note: See TracChangeset
for help on using the changeset viewer.