#ifndef SPRINGLOBBY_HEADERGUARD_GLOBALEVENTS_H
#define SPRINGLOBBY_HEADERGUARD_GLOBALEVENTS_H

#include "events.h"

#include <map>
namespace GlobalEvents {
    enum GlobalEventsTypes
    {
      OnUnitsyncFirstTimeLoad,
      OnUnitsyncReloaded,
      OnSpringTerminated,
	  OnSpringStarted,
      UpdateFinished,
      OnQuit,
	  OnLogin,
      PlasmaResourceListParsed,
	  PlasmaResourceListFailedDownload,
	  BattleSyncReload,

      OnTimerUpdates
    };

    typedef int GlobalEventData;

    EventSender<GlobalEventData> &GetGlobalEventSender( GlobalEventsTypes cmd );
}
#endif // SPRINGLOBBY_HEADERGUARD_GLOBALEVENTS_H
