Changeset 6182 for code/branches/presentation2/src/libraries/core
- Timestamp:
- Nov 30, 2009, 10:44:06 AM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/ScopedSingletonManager.h
r6035 r6182 39 39 40 40 #define ManageScopedSingleton(className, scope, allowedToFail) \ 41 className* className::singletonPtr_s = NULL; \ 41 42 static ClassScopedSingletonManager<className, scope, allowedToFail> className##ScopedSingletonManager(#className) 42 43 -
code/branches/presentation2/src/libraries/core/input/KeyBinderManager.cc
r5929 r6182 40 40 namespace orxonox 41 41 { 42 KeyBinderManager* KeyBinderManager::singletonPtr_s = 0;43 42 ManageScopedSingleton(KeyBinderManager, ScopeID::Graphics, false); 44 43 -
code/branches/presentation2/src/libraries/core/input/KeyDetector.cc
r5929 r6182 39 39 { 40 40 std::string KeyDetector::callbackCommand_s = "KeyDetectorKeyPressed"; 41 KeyDetector* KeyDetector::singletonPtr_s = 0;42 41 ManageScopedSingleton(KeyDetector, ScopeID::Graphics, false); 43 42
Note: See TracChangeset
for help on using the changeset viewer.