Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 27, 2006, 11:25:43 PM (18 years ago)
Author:
bensch
Message:

renamed NewResource to Resource

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/util/loading/resource.cc

    r9846 r9847  
    2424namespace Resources
    2525{
    26   ObjectListDefinition(NewResource);
     26  ObjectListDefinition(Resource);
    2727
    2828
     
    3030   * standard constructor
    3131  */
    32   NewResource::NewResource (Type* type)
     32  Resource::Resource (Type* type)
    3333      : _pointer(NULL), _type(type)
    3434  {
    35     this->registerObject(this, NewResource::_objectList);
     35    this->registerObject(this, Resource::_objectList);
    3636  }
    3737
     
    3939   * standard deconstructor
    4040   */
    41   NewResource::~NewResource ()
     41  Resource::~Resource ()
    4242  {
    4343    // delete what has to be deleted here
     
    4545
    4646
    47   std::string NewResource::locateFile(const std::string& fileName) const
     47  std::string Resource::locateFile(const std::string& fileName) const
    4848  {
    4949    if ((ResourceManager::getInstance()->mainGlobalPath() + File(fileName)).exists() )
     
    6969   * @return true on success.
    7070   */
    71   std::string NewResource::locateFileInSubDir(const Directory& directory, const std::string& fileName) const
     71  std::string Resource::locateFileInSubDir(const Directory& directory, const std::string& fileName) const
    7272  {
    7373    std::vector<Directory>::const_iterator it;
     
    8484
    8585
    86   StorePointer* NewResource::acquireResource(const std::string& loadString)
     86  StorePointer* Resource::acquireResource(const std::string& loadString)
    8787  {
    8888    //const Type* const type = _resourceTypes[this->_type->id()];
     
    9898
    9999
    100   void NewResource::addResource(StorePointer* pointer)
     100  void Resource::addResource(StorePointer* pointer)
    101101  {
    102102    this->_type->addResource(pointer);
Note: See TracChangeset for help on using the changeset viewer.