Changeset 9836 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell_completion_plugin.cc
- Timestamp:
- Sep 26, 2006, 5:16:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/shell/shell_completion_plugin.cc
r9833 r9836 22 22 23 23 #include "helper_functions.h" 24 #include "loading/ new_resource_manager.h"24 #include "loading/resource_manager.h" 25 25 26 26 #include "filesys/directory.h" … … 97 97 if (completionBegin.empty()) // if we do not yet have the beginning of the line, start with the chosen startDir. 98 98 { 99 dir.setFileName(Resources:: NewResourceManager::getInstance()->mainGlobalPath().name() + this->_subDir);99 dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + this->_subDir); 100 100 dir.open(); 101 101 for(unsigned int i = 0; i < dir.fileCount(); i++ ) … … 112 112 directoryName = completionBegin.substr(0, pos); 113 113 114 dir.setFileName(Resources:: NewResourceManager::getInstance()->mainGlobalPath().name() + directoryName);114 dir.setFileName(Resources::ResourceManager::getInstance()->mainGlobalPath().name() + directoryName); 115 115 dir.open(); 116 116 … … 135 135 continue; 136 136 } 137 printf("%s\n", (Resources:: NewResourceManager::getInstance()->mainGlobalPath().name() + fileName).c_str());137 printf("%s\n", (Resources::ResourceManager::getInstance()->mainGlobalPath().name() + fileName).c_str()); 138 138 if (!nocaseCmp(completionBegin, fileName, completionBegin.size()) && 139 Resources:: NewResourceManager::getInstance()->checkFileInMainPath(fileName))139 Resources::ResourceManager::getInstance()->checkFileInMainPath(fileName)) 140 140 { 141 141 printf("Dir %s\n", fileName.c_str());
Note: See TracChangeset
for help on using the changeset viewer.