diff options
author | Mathias Hasselmann <mathias.hasselmann@gmx.de> | 2007-06-26 14:24:27 +0000 |
---|---|---|
committer | Mathias Hasselmann <hasselmm@src.gnome.org> | 2007-06-26 14:24:27 +0000 |
commit | 07946bd70d51ebda070ec558314da7348b490934 (patch) | |
tree | 4e39c7d9a34e7c4c6dfa49a5a1dfe2a2093d7c6b /tests/dummy-headers | |
parent | dac4d352114937b463c4f7d3627389de66d54241 (diff) | |
download | gtk+-07946bd70d51ebda070ec558314da7348b490934.tar.gz |
Extend the C++ keyword test to include internal GDK headers (#449016).
2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
tests/dummy-headers/*: Extend the C++ keyword test
to include internal GDK headers (#449016).
svn path=/trunk/; revision=18244
Diffstat (limited to 'tests/dummy-headers')
-rw-r--r-- | tests/dummy-headers/AppKit/AppKit.h | 24 | ||||
-rw-r--r-- | tests/dummy-headers/ApplicationServices/ApplicationServices.h | 8 | ||||
-rw-r--r-- | tests/dummy-headers/X11/Xlib.h | 17 | ||||
-rw-r--r-- | tests/dummy-headers/X11/Xutil.h | 1 | ||||
-rw-r--r-- | tests/dummy-headers/commctrl.h | 1 | ||||
-rw-r--r-- | tests/dummy-headers/directfb.h | 10 | ||||
-rw-r--r-- | tests/dummy-headers/ft2build.h | 1 | ||||
-rw-r--r-- | tests/dummy-headers/linux/fb.h | 1 | ||||
-rw-r--r-- | tests/dummy-headers/windows.h | 6 |
9 files changed, 69 insertions, 0 deletions
diff --git a/tests/dummy-headers/AppKit/AppKit.h b/tests/dummy-headers/AppKit/AppKit.h new file mode 100644 index 0000000000..1456923187 --- /dev/null +++ b/tests/dummy-headers/AppKit/AppKit.h @@ -0,0 +1,24 @@ +/* Dummy header for the Quartz backend. */ + +typedef int NSTrackingRectTag; + +@interface NSAutoreleasePool {} +@end + +@interface NSCursor {} +@end + +@interface NSEvent {} +@end + +@interface NSImage {} +@end + +@interface NSView {} +@end + +@interface NSWindow {} +@end + +@protocol NSDraggingInfo +@end diff --git a/tests/dummy-headers/ApplicationServices/ApplicationServices.h b/tests/dummy-headers/ApplicationServices/ApplicationServices.h new file mode 100644 index 0000000000..fb696b47a1 --- /dev/null +++ b/tests/dummy-headers/ApplicationServices/ApplicationServices.h @@ -0,0 +1,8 @@ +/* Dummy header for the Quartz backend. */ + +typedef bool BOOL; + +typedef void *CGContextRef; +typedef void *CGImageRef; +typedef void *CGPatternRef; + diff --git a/tests/dummy-headers/X11/Xlib.h b/tests/dummy-headers/X11/Xlib.h new file mode 100644 index 0000000000..6e5f72008c --- /dev/null +++ b/tests/dummy-headers/X11/Xlib.h @@ -0,0 +1,17 @@ +/* Dummy header for the Xlib backend. */ + +typedef unsigned long CARD32; + +typedef CARD32 XID; + +typedef XID Atom; +typedef XID Colormap; +typedef XID Cursor; +typedef XID Window; +typedef XID VisualID; + +typedef struct _Display Display; +typedef struct _GC GC; +typedef struct _Screen Screen; +typedef struct _Visual Visual; +typedef struct _XImage XImage; diff --git a/tests/dummy-headers/X11/Xutil.h b/tests/dummy-headers/X11/Xutil.h new file mode 100644 index 0000000000..f221388486 --- /dev/null +++ b/tests/dummy-headers/X11/Xutil.h @@ -0,0 +1 @@ +/* Dummy header for the Xlib backend. */ diff --git a/tests/dummy-headers/commctrl.h b/tests/dummy-headers/commctrl.h new file mode 100644 index 0000000000..ff2d79273c --- /dev/null +++ b/tests/dummy-headers/commctrl.h @@ -0,0 +1 @@ +/* Dummy header for the Win32 backend. */ diff --git a/tests/dummy-headers/directfb.h b/tests/dummy-headers/directfb.h new file mode 100644 index 0000000000..045d2d64ac --- /dev/null +++ b/tests/dummy-headers/directfb.h @@ -0,0 +1,10 @@ +/* Dummy header for the DirectFB backend. */ + +typedef int DFBColor; +typedef int DFBSurfaceCapabilities; +typedef int DFBSurfacePixelFormat; +typedef int DFBWindowCapabilities; +typedef int DFBWindowOptions; + +typedef struct IDirectFBWindow IDirectFBWindow; +typedef struct IDirectFBSurface IDirectFBSurface; diff --git a/tests/dummy-headers/ft2build.h b/tests/dummy-headers/ft2build.h new file mode 100644 index 0000000000..76c25f8e4d --- /dev/null +++ b/tests/dummy-headers/ft2build.h @@ -0,0 +1 @@ +/* Dummy header for the Linux framebuffer backend. */ diff --git a/tests/dummy-headers/linux/fb.h b/tests/dummy-headers/linux/fb.h new file mode 100644 index 0000000000..76c25f8e4d --- /dev/null +++ b/tests/dummy-headers/linux/fb.h @@ -0,0 +1 @@ +/* Dummy header for the Linux framebuffer backend. */ diff --git a/tests/dummy-headers/windows.h b/tests/dummy-headers/windows.h new file mode 100644 index 0000000000..fefe9e8fa2 --- /dev/null +++ b/tests/dummy-headers/windows.h @@ -0,0 +1,6 @@ +/* Dummy header for the Win32 backend. */ + +typedef void *HDC; +typedef void *HGDIOBJ; +typedef void *HICON; +typedef void *HWND; |