Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3318 in orxonox.OLD for orxonox/branches/updater/src


Ignore:
Timestamp:
Jan 3, 2005, 12:20:48 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/updater: implemented some destructors

Location:
orxonox/branches/updater/src/gui
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/updater/src/gui/orxonox_gui.cc

    r3317 r3318  
    131131OrxonoxGui::~OrxonoxGui(void)
    132132{
    133  
     133  delete video;
     134  delete audio;
     135  delete exec;
     136  delete flags;
     137  delete banner;
     138  delete keys;
     139  delete update;
    134140}
  • orxonox/branches/updater/src/gui/orxonox_gui_audio.cc

    r3315 r3318  
    5555}
    5656
     57/**
     58    \brief Destructs the Audio-Stuff
     59*/
     60OrxonoxGuiAudio::~OrxonoxGuiAudio(void)
     61{
     62  // nothing to do here.
     63}
     64
    5765/**
    5866   \brief Return the Frame
  • orxonox/branches/updater/src/gui/orxonox_gui_banner.cc

    r3315 r3318  
    6767OrxonoxGuiBanner::~OrxonoxGuiBanner(void)
    6868{
     69  // nothing to do here
    6970}
    7071
  • orxonox/branches/updater/src/gui/orxonox_gui_exec.cc

    r3317 r3318  
    7070
    7171/**
     72   \brief Destructs the Execution-stuff
     73*/
     74OrxonoxGuiExec::~OrxonoxGuiExec(void)
     75{
     76  if(this->configFile)
     77    delete []this->configFile;
     78}
     79
     80/**
    7281   \brief Return the Frame
    7382   \return Returns the Exec-frame
  • orxonox/branches/updater/src/gui/orxonox_gui_flags.cc

    r3317 r3318  
    4141
    4242  this->flagsFrame->fill(flagsBox);
     43}
     44
     45/**
     46   \brief Destructs the Flags-stuff
     47*/
     48OrxonoxGuiFlags::~OrxonoxGuiFlags(void)
     49{
     50  // nothing to do here
    4351}
    4452
  • orxonox/branches/updater/src/gui/orxonox_gui_keys.cc

    r3315 r3318  
    4141
    4242  this->keysFrame->fill(this->keysBox);
     43}
     44
     45/**
     46   \brief Destructs the Keys-stuff
     47*/
     48OrxonoxGuiKeys::~OrxonoxGuiKeys(void)
     49{
     50  // nothing to do here.
    4351}
    4452
  • orxonox/branches/updater/src/gui/orxonox_gui_update.cc

    r3315 r3318  
    3434
    3535/**
    36    \brief Creates an Audio-Frame
     36   \brief Creates an Update-Frame
    3737*/
    3838OrxonoxGuiUpdate::OrxonoxGuiUpdate(void)
     
    6262#endif /* HAVE_CURL */
    6363  this->updateFrame->fill(this->updateBox);
     64}
     65
     66/**
     67   \brief Destructs the Update-stuff
     68*/
     69OrxonoxGuiUpdate::~OrxonoxGuiUpdate(void)
     70{
     71  if(this->tmpDir)
     72    delete []this->tmpDir;
     73  if(this->homeDir)
     74    delete []homeDir;
     75  if(this->installDataDir)
     76    delete []this->installDataDir;
     77  if(this->installSourceDir)
     78    delete []this->installSourceDir;
     79  if(this->userName)
     80    delete []this->userName;
     81
    6482
    6583}
  • orxonox/branches/updater/src/gui/orxonox_gui_video.cc

    r3315 r3318  
    4949
    5050/**
     51   \brief Destructs the Video-stuff
     52*/
     53OrxonoxGuiVideo::~OrxonoxGuiVideo(void)
     54{
     55  // nothing to do here.
     56}
     57
     58/**
    5159   \return Returns the Video-frame
    5260*/
Note: See TracChangeset for help on using the changeset viewer.