cleanup specfile for packaging
[profile/ivi/cogl.git] / cogl / cogl-clutter-xlib.h
1 /*
2  * Cogl
3  *
4  * An object oriented GL/GLES Abstraction/Utility Layer
5  *
6  * Copyright (C) 2011 Intel Corporation.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23
24 #if !defined(__COGL_XLIB_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
25 #error "Only <cogl/cogl-xlib.h> can be included directly."
26 #endif
27
28 #ifndef __COGL_CLUTTER_XLIB_H__
29 #define __COGL_CLUTTER_XLIB_H__
30
31 #include <X11/Xutil.h>
32
33 G_BEGIN_DECLS
34
35 #define cogl_clutter_winsys_xlib_get_visual_info cogl_clutter_winsys_xlib_get_visual_info_CLUTTER
36 XVisualInfo *
37 cogl_clutter_winsys_xlib_get_visual_info (void);
38
39 G_END_DECLS
40
41 #endif /* __COGL_CLUTTER_XLIB_H__ */