0ad/source/tools/atlas/GameInterface/Handlers/MessageHandler.cpp
Ykkrosh 5d62c3f3f7 Atlas: Simple undo system
This was SVN commit r2627.
2005-08-20 15:44:50 +00:00

19 lines
402 B
C++

#include "precompiled.h"
#include "MessageHandler.h"
namespace AtlasMessage
{
msgHandlers& GetMsgHandlers()
{
// Make sure this is initialised when it's first required, rather than
// hoping to be lucky with static initialisation order.
// (TODO: But is it safe to be sticking things into STL containers during
// static initialisation?)
static msgHandlers h;
return h;
}
}