Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8276 in orxonox.OLD for trunk/src/lib/util/file.cc


Ignore:
Timestamp:
Jun 8, 2006, 5:21:29 PM (18 years ago)
Author:
bensch
Message:

merged new GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/file.cc

    r7674 r8276  
    160160{
    161161#warning implement
     162  return false;
    162163}
    163164
     
    165166{
    166167#warning implement
     168  return false;
    167169}
    168170
     
    249251    oFile.put(ch);
    250252  }
     253  return true;
    251254}
    252255
     
    298301bool File::remove()
    299302{
     303  if (!this->exists())
     304    return false;
     305
    300306  this->close();
    301307  unlink(this->_name.c_str());
    302308  delete this->_status;
    303309  this->_status = NULL;
     310
     311  return true;
    304312}
    305313
Note: See TracChangeset for help on using the changeset viewer.