Changeset 9684 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/resource_manager.h
- Timestamp:
- Aug 22, 2006, 1:34:31 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/resource_manager.h
r8724 r9684 94 94 class ResourceManager : public BaseObject 95 95 { 96 public: 96 NewObjectListDeclaration(ResourceManager); 97 public: 97 98 virtual ~ResourceManager(); 98 99 /** @returns a Pointer to the only object of this Class */ … … 101 102 bool setDataDir(const std::string& dataDir); 102 103 /** @returns the Name of the data directory */ 103 104 inline const std::string& getDataDir() const { return this->dataDir; }; 104 105 105 106 … … 139 140 static ResourceType stringToResourceType(const std::string& resourceType); 140 141 141 142 private: 142 143 ResourceManager(); 143 144 Resource* loadResource(const std::string& fileName, ResourceType type, ResourcePriority prio, 144 145 const MultiType& param0, const MultiType& param1, const MultiType& param2); 145 146 146 147 private: 147 148 static ResourceManager* singletonRef; //!< singleton Reference 148 149
Note: See TracChangeset
for help on using the changeset viewer.