diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-13 14:32:38 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-13 14:32:38 +0000 |
commit | 6f20ee4beb6b840ed81489358bca01ed41a0ea56 (patch) | |
tree | da2fc7068b010d80f60f48c6dcf54440603bad14 /plugins/Toaster/src/main.cpp | |
parent | 5429863e98b0037b14eccc53eae2b16226138deb (diff) |
Toaster: MS_POPUP_SHOWMEESGAE(W) support
git-svn-id: http://svn.miranda-ng.org/main/trunk@15344 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/main.cpp')
-rw-r--r-- | plugins/Toaster/src/main.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/Toaster/src/main.cpp b/plugins/Toaster/src/main.cpp index 13296b3889..a005a1b8c6 100644 --- a/plugins/Toaster/src/main.cpp +++ b/plugins/Toaster/src/main.cpp @@ -59,6 +59,14 @@ extern "C" int __declspec(dllexport) Load(void) extern "C" int __declspec(dllexport) Unload(void)
{
+ return 0;
+}
+
+int OnPreShutdown(WPARAM, LPARAM)
+{
+ CallFunctionAsync(&HideAllToasts, NULL);
+ CleanupClasses();
+
SHFILEOPSTRUCT file_op = {
NULL,
FO_DELETE,
@@ -70,12 +78,6 @@ extern "C" int __declspec(dllexport) Unload(void) _T("")
};
SHFileOperation(&file_op);
- return 0;
-}
-int OnPreShutdown(WPARAM, LPARAM)
-{
- CallFunctionAsync(&HideAllToasts, NULL);
- CleanupClasses();
return 0;
}
\ No newline at end of file |