Add the AppHasFocus lua binding.

This commit is contained in:
Jason Felds
2011-11-01 23:49:50 -04:00
parent 1e82f5ea78
commit 81fc6bc24d
4 changed files with 22 additions and 0 deletions
+13
View File
@@ -55,6 +55,19 @@ ArchHooks *ArchHooks::Create()
return new ARCH_HOOKS;
}
// lua start
#include "LuaBinding.h"
class LunaArchHooks: public Luna<ArchHooks>
{
public:
DEFINE_METHOD( AppHasFocus, AppHasFocus() );
LunaArchHooks()
{
ADD_METHOD( AppHasFocus );
}
};
/*
* (c) 2003-2004 Glenn Maynard, Chris Danford