mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Script: Fixed ScriptFile with Unicode path and tweaks
This commit is contained in:
@ -24,10 +24,13 @@
|
||||
class LuaScript
|
||||
{
|
||||
public:
|
||||
LuaScript(const char* file);
|
||||
LuaScript();
|
||||
~LuaScript();
|
||||
|
||||
bool IsInitialized() { return m_Initialized; }
|
||||
|
||||
bool Initialize(const WCHAR* scriptFile);
|
||||
void Uninitialize();
|
||||
|
||||
bool IsInitialized() { return m_Ref != LUA_NOREF; }
|
||||
int GetRef() { return m_Ref; }
|
||||
|
||||
bool IsFunction(const char* funcName);
|
||||
@ -37,7 +40,6 @@ public:
|
||||
|
||||
protected:
|
||||
int m_Ref;
|
||||
bool m_Initialized;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user