summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgListNew.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/PluginUpdater/src/DlgListNew.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgListNew.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp
index 0f3811ce92..4ef7d445b2 100644
--- a/plugins/PluginUpdater/src/DlgListNew.cpp
+++ b/plugins/PluginUpdater/src/DlgListNew.cpp
@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA.
#include "common.h"
static HWND hwndDialog;
+HANDLE hListThread;
static void SelectAll(HWND hDlg, bool bEnable)
{
@@ -468,3 +469,21 @@ void UninitListNew()
if (hwndDialog != NULL)
DestroyWindow(hwndDialog);
}
+
+INT_PTR ShowListCommand(WPARAM,LPARAM)
+{
+ opts.bSilent = false;
+ DoGetList(true);
+ return 0;
+}
+
+void InitListNew()
+{
+ CreateServiceFunction(MODNAME"/ShowList", ShowListCommand);
+}
+
+void UnloadListNew()
+{
+ if (hListThread)
+ hListThread = NULL;
+} \ No newline at end of file