Changeset 9847 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/resource.h
- Timestamp:
- Sep 27, 2006, 11:25:43 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/resource.h
r9846 r9847 1 1 /*! 2 2 * @file resource.h 3 * @brief Definition of a NewResource.3 * @brief Definition of a Resource. 4 4 */ 5 5 … … 130 130 131 131 132 //! A NewResource is an Object, that can be loaded from Disk 132 133 134 //! A Resource is an Object, that can be loaded from Disk 133 135 /** 134 * The NewResource Hanldes the location and stores pointers to data that can be retrieved.136 * The Resource Hanldes the location and stores pointers to data that can be retrieved. 135 137 */ 136 class NewResource : virtual public BaseObject138 class Resource : virtual public BaseObject 137 139 { 138 ObjectListDeclaration( NewResource);140 ObjectListDeclaration(Resource); 139 141 140 142 public: 141 NewResource(Resources::Type* type);142 virtual ~ NewResource();143 Resource(Resources::Type* type); 144 virtual ~Resource(); 143 145 144 146 /** @brief reloads the underlying resource */ … … 158 160 private: 159 161 Resources::StorePointer* _pointer; //!< Virtual Pointer to the ResourceData. 160 Resources::Type* _type; //!< Type of the NewResource.162 Resources::Type* _type; //!< Type of the Resource. 161 163 }; 162 164 }
Note: See TracChangeset
for help on using the changeset viewer.