1
0
forked from 0ad/0ad
0ad/source/tools/atlas/GameInterface/Handlers/MessageHandler.cpp
Ykkrosh cf37e9cbe6 Atlas: Added a button. Reorganised game<->UI communication system.
main.cpp: Allowed correct operation when not calling Init/Shutdown.
Game.cpp: Stopped complaint when starting game with no GUI.

This was SVN commit r2446.
2005-06-27 23:04:34 +00:00

16 lines
285 B
C++

#include "precompiled.h"
#include "MessageHandler.h"
namespace AtlasMessage
{
handlers& GetHandlers()
{
// Make sure this is initialised when it's first required, rather than
// hoping to be lucky with static initialisation order
static handlers h;
return h;
}
}