summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/includes/windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/includes/windows.h')
-rw-r--r--src/gui/doc/includes/windows.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/gui/doc/includes/windows.h b/src/gui/doc/includes/windows.h
new file mode 100644
index 0000000000..b4824c2e93
--- /dev/null
+++ b/src/gui/doc/includes/windows.h
@@ -0,0 +1,22 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#pragma once
+
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
+// Dummy declarations for generating docs on non-Windows platforms
+#if !defined(Q_OS_WIN) && defined(Q_QDOC)
+typedef struct _FORMATETC {} FORMATETC;
+typedef struct _STGMEDIUM {} STGMEDIUM;
+typedef void *IDataObject;
+#endif