Changeset 5867 for code/branches/core5/src/modules/questsystem
- Timestamp:
- Oct 4, 2009, 12:02:28 AM (15 years ago)
- Location:
- code/branches/core5/src/modules/questsystem
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/questsystem/QuestManager.cc
r5800 r5867 41 41 #include "core/ConsoleCommand.h" 42 42 #include "core/LuaState.h" 43 #include "core/ScopedSingletonManager.h" 43 44 #include "infos/PlayerInfo.h" 44 45 #include "overlays/GUIOverlay.h" … … 56 57 //! Pointer to the current (and single) instance of this class. 57 58 /*static*/ QuestManager* QuestManager::singletonPtr_s = NULL; 59 ManageScopedSingleton(QuestManager, ScopeID::Root); 58 60 59 61 /** -
code/branches/core5/src/modules/questsystem/QuestManager.h
r5850 r5867 42 42 #include <string> 43 43 44 #include "util/S copedSingleton.h"44 #include "util/Singleton.h" 45 45 #include "core/OrxonoxClass.h" 46 46 … … 59 59 class _QuestsystemExport QuestManager 60 60 // tolua_end 61 : public S copedSingleton<QuestManager, ScopeID::Root>, public orxonox::OrxonoxClass61 : public Singleton<QuestManager>, public orxonox::OrxonoxClass 62 62 { // tolua_export 63 63 64 friend class S copedSingleton<QuestManager, ScopeID::Root>;64 friend class Singleton<QuestManager>; 65 65 friend class QuestGUI; 66 66 … … 70 70 71 71 //! Returns a reference to the single instance of the Quest Manager. 72 static QuestManager& getInstance() { return S copedSingleton<QuestManager, ScopeID::Root>::getInstance(); } // tolua_export72 static QuestManager& getInstance() { return Singleton<QuestManager>::getInstance(); } // tolua_export 73 73 74 74 //! Retreive the main window for the GUI. -
code/branches/core5/src/modules/questsystem/QuestsystemPrecompiledHeaders.h
r5749 r5867 51 51 #include <OgreColourValue.h> // 16 52 52 53 #include <tinyxml/ticpp.h> 54 #include "util/S copedSingleton.h"// 1353 #include <tinyxml/ticpp.h> // 14 54 #include "util/Singleton.h" // 13 55 55 56 56 /////////////////////////////////////////// -
code/branches/core5/src/modules/questsystem/notifications/NotificationManager.cc
r5760 r5867 37 37 38 38 #include "core/CoreIncludes.h" 39 #include "core/ScopedSingletonManager.h" 39 40 #include "Notification.h" 40 41 #include "interfaces/NotificationListener.h" … … 47 48 48 49 NotificationManager* NotificationManager::singletonPtr_s = NULL; 50 ManageScopedSingleton(NotificationManager, ScopeID::Root); 49 51 50 52 /** -
code/branches/core5/src/modules/questsystem/notifications/NotificationManager.h
r5850 r5867 41 41 #include <string> 42 42 43 #include "util/S copedSingleton.h"43 #include "util/Singleton.h" 44 44 #include "core/OrxonoxClass.h" 45 45 … … 53 53 Damian 'Mozork' Frick 54 54 */ 55 class _QuestsystemExport NotificationManager : public S copedSingleton<NotificationManager, ScopeID::Root>, public OrxonoxClass55 class _QuestsystemExport NotificationManager : public Singleton<NotificationManager>, public OrxonoxClass 56 56 { 57 friend class S copedSingleton<NotificationManager, ScopeID::Root>;57 friend class Singleton<NotificationManager>; 58 58 public: 59 59 NotificationManager();
Note: See TracChangeset
for help on using the changeset viewer.