#include "ui-common.h"
gint
-dbus_cb_default(const gchar *interface, const gchar *method,
- GArray *arguments, gpointer data, osso_rpc_t *retval)
+dbus_cb_default(const gchar *interface, const gchar *method, GArray *arguments, gpointer data, osso_rpc_t *retval)
{
if(!strcmp(method, "top_application"))
gtk_idle_add((GSourceFunc)window_present, NULL);
return OSSO_OK;
}
-void osso_cb_hw_state(osso_hw_state_t * state, gpointer data)
+void
+osso_cb_hw_state(osso_hw_state_t * state, gpointer data)
{
static gboolean _must_save_data = FALSE;
-printf("%s()\n", __PRETTY_FUNCTION__);
if (state->system_inactivity_ind) {
if (_must_save_data)
if (iap_is_connected() && !_curl_sid)
_curl_sid = g_timeout_add(100, (GSourceFunc)map_download_timeout, NULL);
}
-vprintf("%s(): return\n", __PRETTY_FUNCTION__);
}
#else
-void osso_cb_hw_state(void *state, gpointer data)
+void
+osso_cb_hw_state(void *state, gpointer data)
{
}
+#ifndef _MAEMO_OSSO_H
+#define _MAEMO_OSSO_H
+
void osso_cb_hw_state(osso_hw_state_t * state, gpointer data);
gint dbus_cb_default(const gchar *interface, const gchar *method,
GArray *arguments, gpointer data, osso_rpc_t *retval);
+#endif