cleanup specfile for packaging
[profile/ivi/clutter.git] / clutter / osx / clutter-osx.h
1 /* Clutter -  An OpenGL based 'interactive canvas' library.
2  * OSX backend
3  *
4  * Copyright (C) 2007  Tommi Komulainen <tommi.komulainen@iki.fi>
5  * Copyright (C) 2007  OpenedHand Ltd.
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19  *
20  *
21  */
22 #ifndef __CLUTTER_OSX_H__
23 #define __CLUTTER_OSX_H__
24
25 #include <clutter/clutter-stage.h>
26
27 @class NSEvent;
28
29 G_BEGIN_DECLS
30
31 #define CLUTTER_OSX_POOL_ALLOC()        NSAutoreleasePool *autorelease_pool = [[NSAutoreleasePool alloc] init]
32 #define CLUTTER_OSX_POOL_RELEASE()      [autorelease_pool release];
33
34 void _clutter_events_osx_init   (void);
35 void _clutter_events_osx_uninit (void);
36
37 void _clutter_event_osx_put     (NSEvent *nsevent, ClutterStage *wrapper);
38
39 G_END_DECLS
40
41 #endif /* __CLUTTER_OSX_H__ */