removing some compiler warnings
[drnoksnes] / platform / osso.h
1 #ifndef _PLATFORM_OSSO_H_
2 #define _PLATFORM_OSSO_H_
3
4 #include <libosso.h>
5
6 START_EXTERN_C
7
8 extern osso_context_t *ossoContext;
9
10 static inline int OssoOk()
11 {
12         return ossoContext != NULL;
13 }
14
15 /** Called from main() before loading config; connects to DBus. */
16 void OssoInit();
17 /** Called from main() before closing. */
18 void OssoDeinit();
19 /** Called from main() after loading user config; loads GUI settings. */
20 void OssoConfig();
21 /** Called from main() in the event loop; polls DBus. */
22 void OssoPollEvents();
23
24 END_EXTERN_C
25
26 #endif
27