Added Lua Stuff

There are a few changes to the core Rainmeter code.
This commit is contained in:
mapeki
2010-12-12 17:08:36 +00:00
parent 416232dff2
commit c516bf8310
96 changed files with 26523 additions and 7 deletions

28
Library/lua/LuaManager.h Normal file
View File

@ -0,0 +1,28 @@
#ifndef LUA_MANAGER_H
#define LUA_MANAGER_H
#include "lua.hpp"
#include "tolua++.h"
class LuaManager
{
public:
static void Init();
static void CleanUp();
static lua_State* GetState() { return m_pState; }
static void ReportErrors(lua_State * L);
static void LuaLog(const char* format, ... );
protected:
static bool m_bInitialized;
static lua_State* m_pState;
};
#endif