/[adonthell]/adonthell/src/main/adonthell.cc
ViewVC logotype

Diff of /adonthell/src/main/adonthell.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by ksterker, Fri Jun 3 17:29:13 2005 UTC revision 1.12 by ksterker, Sun Aug 14 16:51:21 2005 UTC
# Line 39  Line 39 
39  #include "input/input.h"  #include "input/input.h"
40  #include "python/python.h"  #include "python/python.h"
41  #include "main/adonthell.h"  #include "main/adonthell.h"
 #include "event/time_event_manager.h"  
42    
43  using namespace adonthell;  using namespace adonthell;
44  using std::cerr;  using std::cerr;
# Line 93  bool app::init_modules (const u_int16 & Line 92  bool app::init_modules (const u_int16 &
92          if (!input::init (Backend)) return false;          if (!input::init (Backend)) return false;
93      }      }
94    
     // startup event system  
     if (m & EVENT)  
     {  
         events::time_event_manager::init ();  
     }  
   
95      return true;      return true;
96  }  }
97    
# Line 227  void app::cleanup () const Line 220  void app::cleanup () const
220      Cfg.write (Config);      Cfg.write (Config);
221    
222      // cleanup modules      // cleanup modules
     if (Modules & EVENT) events::time_event_manager::cleanup ();  
223          if (Modules & INPUT) input::cleanup ();          if (Modules & INPUT) input::cleanup ();
224      if (Modules & GFX) gfx::cleanup ();      if (Modules & GFX) gfx::cleanup ();
225      if (Modules & PYTHON) python::cleanup ();      if (Modules & PYTHON) python::cleanup ();

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26