Changeset 8470 in orxonox.OLD for branches/network/src/util
- Timestamp:
- Jun 15, 2006, 3:08:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/util/signal_handler.h
r8228 r8470 17 17 }; 18 18 19 typedef bool(*SignalCallback)( void * someData );19 typedef int (*SignalCallback)( void * someData ); 20 20 21 21 #ifndef __WIN32__ … … 44 44 public: 45 45 inline static SignalHandler* getInstance() { if (!SignalHandler::singletonRef) SignalHandler::singletonRef = new SignalHandler(); return SignalHandler::singletonRef; } 46 46 47 47 void registerCallback( SignalCallback cb, void * someData ); 48 48 … … 55 55 void catchSignal( int sig ); 56 56 SignalRecList sigRecList; 57 57 58 58 SignalCallbackList callbackList; 59 59
Note: See TracChangeset
for help on using the changeset viewer.