Fix compilation with MinGW-W64.
These types and values and been defined propsys.h from MinGW-W64 Version2 on. Change-Id: If74b7cf07a0fce414009c86519494a782508d8fe Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>bb10
parent
fddbe8beec
commit
bdfff4d825
|
|
@ -116,6 +116,7 @@ typedef struct _COMDLG_FILTERSPEC
|
|||
#define FOS_DEFAULTNOMINIMODE 0x20000000
|
||||
#define FOS_FORCEPREVIEWPANEON 0x40000000
|
||||
|
||||
#if !defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 2)
|
||||
typedef int GETPROPERTYSTOREFLAGS;
|
||||
#define GPS_DEFAULT 0x00000000
|
||||
#define GPS_HANDLERPROPERTIESONLY 0x00000001
|
||||
|
|
@ -126,6 +127,7 @@ typedef int GETPROPERTYSTOREFLAGS;
|
|||
#define GPS_DELAYCREATION 0x00000020
|
||||
#define GPS_BESTEFFORT 0x00000040
|
||||
#define GPS_MASK_VALID 0x0000007F
|
||||
#endif
|
||||
|
||||
typedef int (QT_WIN_CALLBACK* BFFCALLBACK)(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
|
||||
// message from browser
|
||||
|
|
@ -288,7 +290,9 @@ DECLARE_INTERFACE_(IFileOpenDialog, IFileDialog)
|
|||
STDMETHOD(GetSelectedItems)(THIS_ IShellItemArray **ppsai) PURE;
|
||||
};
|
||||
|
||||
#if !defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 2)
|
||||
typedef IUnknown IPropertyStore;
|
||||
#endif
|
||||
typedef IUnknown IFileOperationProgressSink;
|
||||
|
||||
DECLARE_INTERFACE_(IFileSaveDialog, IFileDialog)
|
||||
|
|
|
|||
Loading…
Reference in New Issue