summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_options.h')
-rw-r--r--plugins/MirLua/src/mlua_options.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/MirLua/src/mlua_options.h b/plugins/MirLua/src/mlua_options.h
index a8168d70da..2e3b4ff7f7 100644
--- a/plugins/MirLua/src/mlua_options.h
+++ b/plugins/MirLua/src/mlua_options.h
@@ -1,15 +1,15 @@
#ifndef _LUA_OPTIONS_H_
#define _LUA_OPTIONS_H_
-#include <m_gui.h>
-
class CMLuaOptions : public CPluginDlgBase
{
private:
+ CMLua *m_mLua;
+ bool isScriptListInit;
+
CCtrlCheck m_popupOnError;
CCtrlCheck m_popupOnObsolete;
- bool isScriptListInit;
CCtrlListView m_scripts;
CCtrlButton m_reload;
@@ -25,10 +25,7 @@ protected:
INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);
public:
- CMLuaOptions(int idDialog);
-
- static int OnOptionsInit(WPARAM wParam, LPARAM);
- static CDlgBase *CreateOptionsPage() { return new CMLuaOptions(IDD_OPTIONS); }
+ CMLuaOptions(CMLua *mLua);
};
#endif //_LUA_OPTIONS_H_ \ No newline at end of file