summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorFrank Richter <frank.richter@gmail.com>2016-01-31 14:27:24 +0100
committerFrank Richter <foobarres@codereview.qt-project.org>2016-02-07 02:39:58 +0000
commitbc9645064ac31cbb9093d041cca1591c9a3e6b75 (patch)
tree883f5357d564bef45e3aebe0765691ab861520b1 /src/plugins
parent15238e91eb9e75ce6956852688fd1f0b68f9156a (diff)
QWindowsTheme: Provide SHGetStockIconInfo()-related constants on CE
Change-Id: I3d0cb8bff811ffbdb8e787b02896717316a4a405 Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/windows/qplatformfunctions_wince.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qplatformfunctions_wince.h b/src/plugins/platforms/windows/qplatformfunctions_wince.h
index 80dc64d8d2..309191537a 100644
--- a/src/plugins/platforms/windows/qplatformfunctions_wince.h
+++ b/src/plugins/platforms/windows/qplatformfunctions_wince.h
@@ -340,5 +340,32 @@ HWND qt_wince_SetClipboardViewer(
);
#define SetClipboardViewer(a) qt_wince_SetClipboardViewer(a)
+/* Shell stock icon IDs
+ SHGetStockIconInfo() is not available on CE, but we're using these
+ constants in code that is built on CE as well */
+ enum
+ {
+ SIID_INVALID = -1,
+ SIID_DOCNOASSOC = 0,
+ SIID_FOLDER = 3,
+ SIID_FOLDEROPEN = 4,
+ SIID_DRIVE35 = 6,
+ SIID_DRIVEFIXED = 8,
+ SIID_DRIVENET = 9,
+ SIID_DRIVECD = 11,
+ SIID_HELP = 23,
+ SIID_RECYCLER = 31,
+ SIID_DRIVEDVD = 59,
+ SIID_SHIELD = 77,
+ SIID_WARNING = 78,
+ SIID_INFO = 79,
+ SIID_ERROR = 80
+};
+
+#ifndef SHGSI_LINKOVERLAY
+// Value is wrong, but doesn't matter, not used at runtime
+#define SHGSI_LINKOVERLAY 0
+#endif
+
#endif // Q_OS_WINCE
#endif // QPLATFORMFUNCTIONS_WCE_H