ultimatepp/uppsrc/CtrlLib/key_header.h
cxl ea8d677f93 Chameleion GTK improvements (better support of nigh themes)
git-svn-id: svn://ultimatepp.org/upp/trunk@868 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-02-15 19:47:48 +00:00

31 lines
475 B
C++

//#BLITZ_APPROVE
#ifndef KEYGROUPNAME
#ifdef KEYNAMESPACE
#define KEYGROUPNAME #KEYNAMESPACE
#else
#define KEYGROUPNAME ""
#endif
#endif
#define KEY(id, name, def) KeyInfo& COMBINE(AK_, id)();
#define KEY2(id, name, def, def2) KeyInfo& COMBINE(AK_, id)();
#ifdef KEYNAMESPACE
namespace KEYNAMESPACE {
#endif
#include KEYFILE
#ifdef KEYNAMESPACE
};
#endif
#ifdef KEYNAMESPACE
#undef KEYNAMESPACE
#endif
#undef KEYGROUPNAME
#undef KEY
#undef KEY2
#undef KEYFILE