erscribble/test/ipc.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

gboolean ipc_set_services (void)
 Setup IPC connection and register API functions.
void ipc_unset_services (void)
 Unregister API functions.
void ipc_sys_startup_complete (void)
 Report "settings started" to sysd.
gboolean ipc_set_stylus (const char *state)
 Request popup menu state.

Function Documentation

gboolean ipc_set_services ( void   ) 

Setup IPC connection and register API functions.

File Name : ipc.h

Description: Internationalization and localization Copyright (C) 2008 iRex Technologies B.V. All rights reserved.---------------------------------------------------------------------------

Name : ipc_set_services

Parameters:
-- 
Returns:
--

--------------------------------------------------------------------------

File Name : index_ipc.h

Description: The dbus-based eripc functions Copyright (C) 2009 IREX Technologies B.V. All rights reserved.---------------------------------------------------------------------------

Name : ipc_set_services

Parameters:
None 
Returns:
--

--------------------------------------------------------------------------

Definition at line 95 of file index_ipc.c.

00096 {
00097     eripcClient = eripc_client_context_new(
00098                     DBUS_APPL_NAME, 
00099                     "1.0",
00100                     DBUS_SERVICE, 
00101                     DBUS_PATH,
00102                     DBUS_INTERFACE,
00103                     service_functions);
00104 }

gboolean ipc_set_stylus ( const char *  state  ) 

Request popup menu state.

---------------------------------------------------------------------------

Name : ipc_set_stylus

Parameters:
state [Input] State ("enable", "disable", "suspend", "resume", "high", "normal")
Returns:
FALSE if failed to set stylus state

--------------------------------------------------------------------------

Definition at line 132 of file erscribble/test/ipc.c.

00133 {
00134     g_return_val_if_fail( (state != NULL), FALSE);
00135     return eripc_menu_set_statusitem_state(eripcClient, "statusbar_stylus", state);
00136 }

void ipc_sys_startup_complete ( void   ) 

Report "settings started" to sysd.

---------------------------------------------------------------------------

Name : ipc_sys_startup_complete

Parameters:
-- 
Returns:
--

--------------------------------------------------------------------------

Report "settings started" to sysd.

Report "application started" to system daemon.

---------------------------------------------------------------------------

Name : ipc_sys_startup_complete

Parameters:
-- 
Returns:
--

--------------------------------------------------------------------------

Definition at line 168 of file ctb/src/ipc.c.

00169 {
00170     eripc_sysd_startup_complete( eripcClient, getpid(), FALSE, fileview_get_xid());
00171 }

void ipc_unset_services ( void   ) 

Unregister API functions.

---------------------------------------------------------------------------

Name : ipc_unset_services

Parameters:
-- 
Returns:
--

--------------------------------------------------------------------------

Definition at line 108 of file index_ipc.c.

Generated by  doxygen 1.6.2-20100208