1 #ifndef __ICD2_LIGHT_H__
2 #define __ICD2_LIGHT_H__
5 * This is truncated version of file /usr/include/icd/dbus_api.h
6 * I created it because of glib.h inclusion in the original file
12 #define ICD_DBUS_API_INTERFACE "com.nokia.icd2"
13 #define ICD_DBUS_API_PATH "/com/nokia/icd2"
14 #define ICD_DBUS_API_STATE_SIG "state_sig"
15 #define ICD_DBUS_API_STATE_REQ "state_req"
18 /** Connection state */
19 enum icd_connection_state {
20 /** Network is or became disconnected */
21 ICD_STATE_DISCONNECTED = 0,
22 /** Establishing network connection */
23 ICD_STATE_CONNECTING = 1,
24 /** Network is connected */
25 ICD_STATE_CONNECTED = 2,
26 /** Network is being disconnected */
27 ICD_STATE_DISCONNECTING = 3,
28 /** service provider module informs about enabled limited connectivity */
29 ICD_STATE_LIMITED_CONN_ENABLED = 4,
30 /** service provider module informs about disabled limited connectivity */
31 ICD_STATE_LIMITED_CONN_DISABLED = 5,
33 /** Network searching started */
34 ICD_STATE_SEARCH_START = 8,
35 /** Network searching stopped */
36 ICD_STATE_SEARCH_STOP = 9,
38 /** Internal network state, IP address(es) has/have been acquired */
39 ICD_STATE_INTERNAL_ADDRESS_ACQUIRED = 15
47 #endif /* __ICD2_LIGHT_H__ */