|
Data Structures |
struct | osso_rpc_t |
struct | osso_state_t |
struct | osso_hw_state_t |
Defines |
#define | LOG_D __FILE__,__LINE__,LOG_DEBUG |
Typedefs |
typedef osso_af_context_t | osso_context_t |
typedef gint( | osso_rpc_cb_f )(const gchar *interface, const gchar *method, GArray *arguments, gpointer data, osso_rpc_t *retval) |
typedef void( | osso_rpc_async_f )(const gchar *interface, const gchar *method, osso_rpc_t *retval, gpointer data) |
typedef void( | osso_application_exit_cb )(gboolean die_now, gpointer data) |
typedef void( | osso_application_top_cb_f )(const gchar *arguments, gpointer data) |
typedef void( | osso_application_autosave_cb_f )(gpointer data) |
typedef void( | osso_time_cb_f )(gpointer data) |
typedef void( | osso_hw_cb_f )(osso_hw_state_t *state, gpointer data) |
typedef void( | osso_mime_cb_f )(gpointer data, int argc, gchar **argv) |
Enumerations |
enum | osso_return_t {
OSSO_OK = 0,
OSSO_ERROR = -1,
OSSO_INVALID = -2,
OSSO_RPC_ERROR = -4,
OSSO_ERROR_NAME = -3,
OSSO_ERROR_NO_STATE = -5,
OSSO_ERROR_STATE_SIZE = -6
} |
enum | osso_system_note_type_t { OSSO_GN_WARNING = 0,
OSSO_GN_ERROR,
OSSO_GN_NOTICE
} |
Functions |
osso_context_t * | osso_initialize (const gchar *application, const gchar *version, gboolean activation, GMainContext *context) |
void | osso_deinitialize (osso_context_t *osso) |
osso_return_t | osso_rpc_run (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, const gchar *method, osso_rpc_t *retval, int argument_type,...) |
osso_return_t | osso_rpc_run_with_defaults (osso_context_t *osso, const gchar *application, const gchar *method, osso_rpc_t *retval, int argument_type,...) |
osso_return_t | osso_rpc_async_run (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, const gchar *method, osso_rpc_async_f *async_cb, gpointer data, int argument_type,...) |
osso_return_t | osso_rpc_async_run_with_defaults (osso_context_t *osso, const gchar *application, const gchar *method, osso_rpc_async_f *async_cb, gpointer data, int argument_type,...) |
osso_return_t | osso_rpc_set_cb_f (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_set_default_cb_f (osso_context_t *osso, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_unset_cb_f (osso_context_t *osso, const gchar *service, const gchar *object_path, const gchar *interface, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_unset_default_cb_f (osso_context_t *osso, osso_rpc_cb_f *cb, gpointer data) |
osso_return_t | osso_rpc_get_timeout (osso_context_t *osso, gint *timeout) |
osso_return_t | osso_rpc_set_timeout (osso_context_t *osso, gint timeout) |
osso_return_t | osso_application_set_exit_cb (osso_context_t *osso, osso_application_exit_cb *cb, gpointer data) |
osso_return_t | osso_application_top (osso_context_t *osso, const gchar *application, const gchar *arguments) |
osso_return_t | osso_application_set_top_cb (osso_context_t *osso, osso_application_top_cb_f *cb, gpointer data) |
osso_return_t | osso_application_unset_top_cb (osso_context_t *osso, osso_application_top_cb_f *cb, gpointer data) |
osso_return_t | osso_application_set_autosave_cb (osso_context_t *osso, osso_application_autosave_cb_f *cb, gpointer data) |
osso_return_t | osso_application_unset_autosave_cb (osso_context_t *osso, osso_application_autosave_cb_f *cb, gpointer data) |
osso_return_t | osso_application_userdata_changed (osso_context_t *osso) |
osso_return_t | osso_application_autosave_force (osso_context_t *osso) |
osso_return_t | osso_statusbar_send_event (osso_context_t *osso, const gchar *name, gint argument1, gint argument2, const gchar *argument3, osso_rpc_t *retval) |
osso_return_t | osso_time_set_notification_cb (osso_context_t *osso, osso_time_cb_f *cb, gpointer data) |
osso_return_t | osso_time_set (osso_context_t *osso, time_t new_time) |
osso_return_t | osso_system_note_dialog (osso_context_t *osso, const gchar *message, osso_system_note_type_t type, osso_rpc_t *retval) |
osso_return_t | osso_system_note_infoprint (osso_context_t *osso, const gchar *text, osso_rpc_t *retval) |
osso_return_t | osso_state_write (osso_context_t *osso, osso_state_t *state) |
osso_return_t | osso_state_read (osso_context_t *osso, osso_state_t *state) |
int | osso_state_open_write (osso_context_t *osso) |
int | osso_state_open_read (osso_context_t *osso) |
void | osso_state_close (osso_context_t *osso, gint fd) |
osso_return_t | osso_cp_plugin_execute (osso_context_t *osso, const gchar *filename, gpointer data, gboolean user_activated) |
osso_return_t | osso_cp_plugin_save_state (osso_context_t *osso, const gchar *filename, gpointer data) |
osso_return_t | osso_display_state_on (osso_context_t *osso) |
osso_return_t | osso_display_blanking_pause (osso_context_t *osso) |
osso_return_t | osso_hw_set_event_cb (osso_context_t *osso, osso_hw_state_t *state, osso_hw_cb_f *cb, gpointer data) |
osso_return_t | osso_hw_unset_event_cb (osso_context_t *osso, osso_hw_state_t *state) |
osso_return_t | osso_mime_set_cb (osso_context_t *osso, osso_mime_cb_f *cb, gpointer data) |
osso_return_t | osso_mime_unset_cb (osso_context_t *osso) |
osso_return_t | osso_tasknav_mail_add (osso_context_t *osso, guint id, const gchar *subject, const gchar *sender, gboolean attachment, const gchar *date) |
osso_return_t | osso_tasknav_mail_del (osso_context_t *osso, guint id) |
osso_return_t | osso_tasknav_mail_set_outbox_count (osso_context_t *osso, guint count) |
void | osso_log (int level, const char *format,...) |
void | d_log (const char *file, int line, int level, const char *format,...) |
gpointer | osso_get_dbus_connection (osso_context_t *osso) |
gpointer | osso_get_sys_dbus_connection (osso_context_t *osso) |
osso_context_t * | osso_application_initialize (const gchar *application, const gchar *version, osso_application_top_cb_f *cb, gpointer callback_data) |
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA