* Required for msys2/Blender.
* Makefile.in and configure script are not updated.
From 4bcc510c6ecc2d9f8b368320b7a4b09ec9ea94de Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbap...@gmail.com>
Date: Thu, 9 Jan 2020 14:31:46 +0530
Subject: [PATCH] thumbcache.idl: import from wine

Signed-off-by: Biswapriyo Nath <nathbap...@gmail.com>
---
 mingw-w64-headers/Makefile.am            |  3 +-
 mingw-w64-headers/include/thumbcache.idl | 48 ++++++++++++++++++++++++
 mingw-w64-headers/wine-import.sh         |  1 +
 3 files changed, 51 insertions(+), 1 deletion(-)
 create mode 100644 mingw-w64-headers/include/thumbcache.idl

diff --git a/mingw-w64-headers/Makefile.am b/mingw-w64-headers/Makefile.am
index 20c9c1c..8abc448 100644
--- a/mingw-w64-headers/Makefile.am
+++ b/mingw-w64-headers/Makefile.am
@@ -187,8 +187,9 @@ IDL_SRCS = \
   include/strmif.idl \
   include/structuredquerycondition.idl \
   include/taskschd.idl \
-  include/tpcshrd.idl \
   include/textstor.idl \
+  include/thumbcache.idl \
+  include/tpcshrd.idl \
   include/tuner.idl \
   include/uianimation.idl \
   include/uiautomationclient.idl \
diff --git a/mingw-w64-headers/include/thumbcache.idl 
b/mingw-w64-headers/include/thumbcache.idl
new file mode 100644
index 0000000..f79d879
--- /dev/null
+++ b/mingw-w64-headers/include/thumbcache.idl
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2019 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+import "oaidl.idl";
+import "shtypes.idl";
+
+typedef [v1_enum] enum WTS_FLAGS
+{
+    WTS_NONE                 = 0x00000000,
+    WTS_EXTRACT              = 0x00000000,
+    WTS_INCACHEONLY          = 0x00000001,
+    WTS_FASTEXTRACT          = 0x00000002,
+    WTS_FORCEEXTRACTION      = 0x00000004,
+    WTS_SLOWRECLAIM          = 0x00000008,
+    WTS_EXTRACTDONOTCACHE    = 0x00000020,
+    WTS_SCALETOREQUESTEDSIZE = 0x00000040,
+    WTS_SKIPFASTEXTRACT      = 0x00000080,
+    WTS_EXTRACTINPROC        = 0x00000100,
+    WTS_CROPTOSQUARE         = 0x00000200,
+    WTS_INSTANCESURROGATE    = 0x00000400,
+    WTS_REQUIRESURROGATE     = 0x00000800,
+    WTS_APPSTYLE             = 0x00002000,
+    WTS_WIDETHUMBNAILS       = 0x00004000,
+    WTS_IDEALCACHESIZEONLY   = 0x00008000,
+    WTS_SCALEUP              = 0x00010000,
+} WTS_FLAGS;
+
+typedef [v1_enum] enum WTS_ALPHATYPE
+{
+    WTSAT_UNKNOWN = 0,
+    WTSAT_RGB     = 1,
+    WTSAT_ARGB    = 2
+} WTS_ALPHATYPE;
diff --git a/mingw-w64-headers/wine-import.sh b/mingw-w64-headers/wine-import.sh
index 0549a3b..f212d20 100755
--- a/mingw-w64-headers/wine-import.sh
+++ b/mingw-w64-headers/wine-import.sh
@@ -163,6 +163,7 @@ for f in \
        optary \
        qedit \
        taskschd \
+       thumbcache \
        uiautomationclient \
        uiautomationcore \
        urlhist \
-- 
2.24.1

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to