summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgListNew.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-06-29 18:14:17 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-06-29 18:14:17 +0000
commitd10d29da43c16bd537abcac6bf5314a49d30a938 (patch)
tree2f39d6a2c4e82780a6d841acc0069a19c16e8b59 /plugins/PluginUpdater/src/DlgListNew.cpp
parent969481ec4ea41609fa55b80c2ca3629ff7b9279d (diff)
PluginUpdater:
-More correct way of using Folders plugin -Code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@9619 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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