diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-07-24 12:45:18 +0000 |
commit | 0cda0baab21d4d4bf40c9459f6f5a7e49aa92492 (patch) | |
tree | c1244d2f42e6d1728a81a18bd0fbd091904bf20c /plugins/W7UI/src/jumplistarray.h | |
parent | 171e81205e357e0d54283a63997ed58ff97d54a9 (diff) |
VersionInfo, W7UI, WhoUsesMyFiles, YAPP, ZeroNotification: changed folder structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@1161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/W7UI/src/jumplistarray.h')
-rw-r--r-- | plugins/W7UI/src/jumplistarray.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/W7UI/src/jumplistarray.h b/plugins/W7UI/src/jumplistarray.h new file mode 100644 index 0000000000..c9f2a8b979 --- /dev/null +++ b/plugins/W7UI/src/jumplistarray.h @@ -0,0 +1,29 @@ +#ifndef jumplistarray_h__
+#define jumplistarray_h__
+
+class CJumpListArray
+{
+private:
+ IObjectCollection *m_pObjects;
+
+public:
+ CJumpListArray();
+ ~CJumpListArray();
+
+ void AddItem(char *mir_icon, TCHAR *title, TCHAR *path, TCHAR *args);
+ void AddItem(int skinicon, TCHAR *title, TCHAR *path, TCHAR *args);
+ void AddItem(char *proto, int skinicon, TCHAR *title, TCHAR *path, TCHAR *args);
+
+ IObjectArray *GetArray();
+
+private:
+ void AddItemImpl(TCHAR *icon, int iIcon, TCHAR *title, TCHAR *path, TCHAR *args);
+
+ bool LoadMirandaIcon(char *mir_icon, TCHAR *icon, int *id);
+ bool LoadMirandaIcon(int skinicon, TCHAR *icon, int *id);
+ bool LoadMirandaIcon(char *proto, int status, TCHAR *icon, int *id);
+
+ static IShellLink *NewShellLink(TCHAR *icon, int iIcon, TCHAR *title, TCHAR *path, TCHAR *args);
+};
+
+#endif // jumplistarray_h__
|