Changeset 5994 in orxonox.OLD for trunk/src/util
- Timestamp:
- Dec 9, 2005, 10:43:31 AM (19 years ago)
- Location:
- trunk/src/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/resource_manager.cc
r5930 r5994 606 606 } 607 607 608 608 609 /** 609 610 * Searches for a Resource by some information … … 616 617 */ 617 618 Resource* ResourceManager::locateResourceByInfo(const char* fileName, ResourceType type, 618 void* param1, void* param2, void* param3) 619 void* param1, void* param2, void* param3) const 619 620 { 620 621 // Resource* enumRes = resourceList->enumerate(); … … 692 693 * @returns a Pointer to the Resource if found, NULL otherwise. 693 694 */ 694 Resource* ResourceManager::locateResourceByPointer(const void* pointer) 695 Resource* ResourceManager::locateResourceByPointer(const void* pointer) const 695 696 { 696 697 // Resource* enumRes = resourceList->enumerate(); -
trunk/src/util/loading/resource_manager.h
r5480 r5994 119 119 bool unloadAllByPriority(ResourcePriority prio); 120 120 121 Resource* locateResourceByInfo(const char* fileName, ResourceType type, void* param1, void* param2, void* param3) const; 122 Resource* locateResourceByPointer(const void* pointer) const; 123 121 124 void debug() const; 122 125 … … 137 140 ResourceManager(); 138 141 139 Resource* locateResourceByInfo(const char* fileName, ResourceType type, void* param1, void* param2, void* param3);140 Resource* locateResourceByPointer(const void* pointer);141 142 142 private: 143 143 static ResourceManager* singletonRef; //!< singleton Reference
Note: See TracChangeset
for help on using the changeset viewer.