Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Common::EventManager * OSystem::getEventManager (  )  [virtual]

Return the event manager singleton. For more information, refer to the EventManager documentation.

Definition at line 112 of file system.cpp.

                                             {
      // FIXME/TODO: Eventually this method should be turned into an abstract one,
      // to force backends to implement this conciously (even if they
      // end up returning the default event manager anyway).
      if (!s_eventManager)
            s_eventManager = new DefaultEventManager(this);
      return s_eventManager;
}


Generated by  Doxygen 1.6.0   Back to index