diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-03 09:58:59 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-03 09:58:59 +0000 |
commit | 645809725d48605f0fa0d3a5f909667324be326a (patch) | |
tree | f89fa1f13406a3f2b539fba6bed18904d2886714 /plugins/Toaster/src/stdafx.h | |
parent | 9c39d74383197c1848a47b81831b08326c8f0884 (diff) |
Toaster: classes support part 2 (icons)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/stdafx.h')
-rw-r--r-- | plugins/Toaster/src/stdafx.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/Toaster/src/stdafx.h b/plugins/Toaster/src/stdafx.h index 5d8fa45407..ca50132957 100644 --- a/plugins/Toaster/src/stdafx.h +++ b/plugins/Toaster/src/stdafx.h @@ -37,6 +37,7 @@ DEFINE_PROPERTYKEY(PKEY_AppUserModel_ID, 0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, #include "toast_event_handler.h"
#include "toast_notification.h"
#include "add_to_start_menu.h"
+#include "images.h"
extern HINSTANCE g_hInstance;
extern mir_cs csNotifications;
@@ -64,6 +65,18 @@ struct ToastData }
};
+struct ClassData
+{
+ int iFlags;
+ HICON hIcon;
+ HANDLE handle;
+ ClassData(int f, HICON h = NULL) : iFlags(f), hIcon(h)
+ {
+ Utils_GetRandom(&handle, sizeof(handle));
+ }
+};
+
+void CleanupClasses();
void InitServices();
int OnPreShutdown(WPARAM, LPARAM);
void __stdcall HideAllToasts(void*);
|