removed dependency on hildon-games-wrapper
[drnoksnes] / platform / osso.h
index f4f9be5..93085cf 100644 (file)
@@ -1,16 +1,25 @@
-#ifndef _PLATFORM_GUICONF_H_
-#define _PLATFORM_GUICONF_H_
+#ifndef _PLATFORM_OSSO_H_
+#define _PLATFORM_OSSO_H_
+
+#include <libosso.h>
 
 START_EXTERN_C
 
+extern osso_context_t *ossoContext;
+
+static inline int OssoOk()
+{
+       return ossoContext != NULL;
+}
+
 /** Called from main() before loading config; connects to DBus. */
-void GuiConfInit();
+void OssoInit();
 /** Called from main() before closing. */
-void HgwDeinit();
+void OssoDeinit();
 /** Called from main() after loading user config; loads GUI settings. */
-void HgwConfig();
+void OssoConfig();
 /** Called from main() in the event loop; polls DBus. */
-void GuiConfigPollEvents();
+void OssoPollEvents();
 
 END_EXTERN_C