aboutsummaryrefslogtreecommitdiff
path: root/backends/taskbar
diff options
context:
space:
mode:
authorLittleboy2011-06-23 08:49:27 -0400
committerLittleboy2011-06-23 08:52:54 -0400
commit712af61f76148095cd3b8762eeb2b2b10502df1f (patch)
tree712dd20a6e6ca59133ee3df002e4bd5a016144f5 /backends/taskbar
parentb694a78f62a02253bca2a5611314599ae7fce725 (diff)
downloadscummvm-rg350-712af61f76148095cd3b8762eeb2b2b10502df1f.tar.gz
scummvm-rg350-712af61f76148095cd3b8762eeb2b2b10502df1f.tar.bz2
scummvm-rg350-712af61f76148095cd3b8762eeb2b2b10502df1f.zip
BACKENDS: Silence warnings when compiling Win32TaskbarManager with mingw and add CLSID_ShellLink definition
Diffstat (limited to 'backends/taskbar')
-rw-r--r--backends/taskbar/win32/mingw-compat.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/backends/taskbar/win32/mingw-compat.h b/backends/taskbar/win32/mingw-compat.h
index bf03db9abd..30ce818141 100644
--- a/backends/taskbar/win32/mingw-compat.h
+++ b/backends/taskbar/win32/mingw-compat.h
@@ -45,10 +45,10 @@
#include <shlguid.h>
#define CMIC_MASK_ASYNCOK SEE_MASK_ASYNCOK
-// Misc enumeration values
-#ifndef SHARD_LINK
+extern const GUID CLSID_ShellLink;
+
+// Shard enumeration value
#define SHARD_LINK 0x00000006
-#endif
// Taskbar GUID definitions
DEFINE_GUID(CLSID_TaskbarList,0x56fdf344,0xfd6d,0x11d0,0x95,0x8a,0x0,0x60,0x97,0xc9,0xa0,0x90);
@@ -73,6 +73,9 @@ DECLARE_INTERFACE_(IPropertyStore, IUnknown) {
STDMETHOD (GetValue) (REFPROPERTYKEY key, PROPVARIANT *pv) PURE;
STDMETHOD (SetValue) (REFPROPERTYKEY key, REFPROPVARIANT propvar) PURE;
STDMETHOD (Commit) (void) PURE;
+
+private:
+ ~IPropertyStore();
};
typedef IPropertyStore *LPIPropertyStore;
@@ -137,6 +140,9 @@ DECLARE_INTERFACE_(ITaskbarList3, IUnknown) {
STDMETHOD (SetOverlayIcon) (THIS_ HWND hwnd, HICON hIcon, LPCWSTR pszDescription) PURE;
STDMETHOD (SetThumbnailTooltip) (THIS_ HWND hwnd, LPCWSTR pszTip) PURE;
STDMETHOD (SetThumbnailClip) (THIS_ HWND hwnd, RECT *prcClip) PURE;
+
+private:
+ ~ITaskbarList3();
};
typedef ITaskbarList3 *LPITaskbarList3;