Changeset 7620 in orxonox.OLD for branches/qt_gui/src/lib/util/file.cc
- Timestamp:
- May 15, 2006, 3:07:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/util/file.cc
r7619 r7620 92 92 } 93 93 94 bool File::exists() 95 { 96 return (this->_status != NULL); 97 } 98 99 bool File::isLink() 94 bool File::exists() const 95 { 96 return (this->_status != NULL); 97 } 98 99 bool File::isLink() const 100 100 { 101 101 #ifndef __WIN32__ … … 107 107 // only on UNIX 108 108 109 bool File::isFile() 109 bool File::isFile() const 110 110 { 111 111 return (this->_status != NULL && this->_status->st_mode & (S_IFREG)); … … 117 117 * @returns true if it is a directory/symlink false otherwise 118 118 */ 119 bool File::isDirectory() 119 bool File::isDirectory() const 120 120 { 121 121 // checking for the termination of the string given. If there is a "/" at the end cut it away … … 130 130 131 131 /// FIXME NEXT THREE FUNCTIONS 132 bool File::isReadeable() 132 bool File::isReadeable() const 133 133 { 134 134 #ifndef __WIN32__ … … 139 139 } 140 140 141 bool File::isWriteable() 141 bool File::isWriteable() const 142 142 { 143 143 #ifndef __WIN32__ … … 147 147 #endif 148 148 } 149 bool File::isExecutable() 149 bool File::isExecutable() const 150 150 { 151 151 #ifndef __WIN32__
Note: See TracChangeset
for help on using the changeset viewer.