Changeset 7615 in orxonox.OLD for branches/qt_gui/src/lib
- Timestamp:
- May 15, 2006, 11:08:33 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/util/file.cc
r7612 r7615 15 15 16 16 #include "file.h" 17 18 #include <sys/types.h> 19 #include <sys/stat.h> 17 20 18 21 #ifdef __unix__ … … 50 53 #warning implement 51 54 } 55 52 56 bool File::close() 53 57 { 54 58 #warning implement 55 59 } 60 56 61 int File::handle() 57 62 { … … 63 68 #warning implement 64 69 } 70 65 71 bool File::isLink() 66 72 { 67 73 #warning implement 68 } // only on UNIX 74 } 75 // only on UNIX 69 76 bool File::isFile() 70 77 { 71 78 #warning implement 72 79 } 80 73 81 bool File::isDirectory() 74 82 { … … 77 85 78 86 // checking for the termination of the string given. If there is a "/" at the end cut it away 79 if ( directoryName[directoryName.size()-1] == '/' ||80 directoryName[directoryName.size()-1] == '\\')87 if (this->_name[this->_name.size()-1] == '/' || 88 this->_name[this->_name.size()-1] == '\\') 81 89 { 82 90 tmpDirName.erase(tmpDirName.size()-1);
Note: See TracChangeset
for help on using the changeset viewer.