/[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.7 by ksterker, Tue Nov 2 10:52:16 2004 UTC revision 1.8 by ksterker, Mon Nov 15 08:54:33 2004 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"
42    #include "event/manager.h"
43    
44  using namespace adonthell;  using namespace adonthell;
45  using std::cerr;  using std::cerr;
# Line 95  bool app::init_modules (const u_int16 & Line 96  bool app::init_modules (const u_int16 &
96      // startup event system      // startup event system
97      if (m & EVENT)      if (m & EVENT)
98      {      {
99            event::manager::init ();
100      }      }
101            
102      return true;      return true;
# Line 212  void app::cleanup () const Line 214  void app::cleanup () const
214      Cfg.write (Config);      Cfg.write (Config);
215    
216      // cleanup modules      // cleanup modules
217        if (Modules & EVENT) event::manager::cleanup ();
218          if (Modules & INPUT) input::cleanup ();          if (Modules & INPUT) input::cleanup ();
219      if (Modules & GFX) gfx::cleanup ();      if (Modules & GFX) gfx::cleanup ();
220      if (Modules & PYTHON) python::cleanup ();      if (Modules & PYTHON) python::cleanup ();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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