summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/options.h')
-rw-r--r--plugins/MirLua/src/options.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/MirLua/src/options.h b/plugins/MirLua/src/options.h
new file mode 100644
index 0000000000..9658ffe336
--- /dev/null
+++ b/plugins/MirLua/src/options.h
@@ -0,0 +1,27 @@
+#pragma once
+
+class CMLuaOptions : public CPluginDlgBase
+{
+private:
+ bool isScriptListInit;
+
+ CCtrlCheck m_popupOnError;
+ CCtrlCheck m_popupOnObsolete;
+
+ CCtrlListView m_scripts;
+ CCtrlButton m_reload;
+
+ void LoadScripts();
+
+protected:
+ void OnInitDialog();
+ void OnApply();
+
+ void OnScriptListClick(CCtrlListView::TEventInfo *evt);
+ void OnReload(CCtrlBase*);
+
+ INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam);
+
+public:
+ CMLuaOptions();
+};