summaryrefslogtreecommitdiff
path: root/clutter/clutter-config.h.win32_GDK
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2012-05-14 16:18:13 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2012-05-14 16:18:13 +0800
commitee72d9b4af62d91dc16f853ff8165bba20169f52 (patch)
treeff4804be7e9c9a3de14397ed7c49e5ee97dca820 /clutter/clutter-config.h.win32_GDK
parent193bf6123daac301636f1dc52dc1908564c6d1a4 (diff)
downloadclutter-ee72d9b4af62d91dc16f853ff8165bba20169f52.tar.gz
Visual C++ support: Add support to build GDK backend
-Add configuration in Clutter projects to add option to build Clutter with the GDK3 backend in addition to the Win32 backend -Add another preconfigured clutter-config.h.win32_GDK which contains backend configs for both GDK3 and Win32 windowing and input.
Diffstat (limited to 'clutter/clutter-config.h.win32_GDK')
-rw-r--r--clutter/clutter-config.h.win32_GDK20
1 files changed, 20 insertions, 0 deletions
diff --git a/clutter/clutter-config.h.win32_GDK b/clutter/clutter-config.h.win32_GDK
new file mode 100644
index 000000000..b9ddcdbe7
--- /dev/null
+++ b/clutter/clutter-config.h.win32_GDK
@@ -0,0 +1,20 @@
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
+#ifndef __CLUTTER_CONFIG_H__
+#define __CLUTTER_CONFIG_H__
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+#define CLUTTER_WINDOWING_WIN32 "win32"
+#define CLUTTER_INPUT_WIN32 "win32"
+#define CLUTTER_WINDOWING_GDK "gdk"
+#define CLUTTER_INPUT_GDK "gdk"
+#define CLUTTER_INPUT_NULL "null"
+
+G_END_DECLS
+
+#endif /* __CLUTTER_CONFIG_H__ */