diff options
author | jongmyeongko <jongmyeong.ko@samsung.com> | 2016-02-15 16:02:02 +0900 |
---|---|---|
committer | jongmyeong ko <jongmyeong.ko@samsung.com> | 2016-03-02 05:11:19 -0800 |
commit | 7d3c31cb0c123d861d05516f013aedd60337735a (patch) | |
tree | c2a72d84165de47095e883906ecd40a7be29d240 /include | |
parent | 09bc4e746d269101bc506b9277d82877f6866a5c (diff) | |
download | application-7d3c31cb0c123d861d05516f013aedd60337735a.tar.gz application-7d3c31cb0c123d861d05516f013aedd60337735a.tar.bz2 application-7d3c31cb0c123d861d05516f013aedd60337735a.zip |
add new system-event for network status
Change-Id: I70a598a5d493ac303c7632f050198137a92bd0fd
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/app_event.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/include/app_event.h b/include/app_event.h index 1ef7462..a0a8cbc 100644 --- a/include/app_event.h +++ b/include/app_event.h @@ -775,6 +775,62 @@ typedef enum { #define EVENT_KEY_FONT_SET "font_set" /** + * @brief Definition for system-event of network : status of network. + * @since_tizen 3.0 + * @see EVENT_KEY_NETWORK_STATUS + */ +#define SYSTEM_EVENT_NETWORK_STATUS "tizen.system.event.network_status" + +/** + * @brief Definition for key of SYSTEM_EVENT_NETWORK_STATUS. + * @since_tizen 3.0 + * @remarks The values of this event indicate the type of the current profile for data connection. + * @see EVENT_VAL_NETWORK_DISCONNECTED + * @see EVENT_VAL_NETWORK_WIFI + * @see EVENT_VAL_NETWORK_CELLULAR + * @see EVENT_VAL_NETWORK_ETHERNET + * @see EVENT_VAL_NETWORK_BT + * @see EVENT_VAL_NETWORK_NET_PROXY + */ +#define EVENT_KEY_NETWORK_STATUS "network_status" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_DISCONNECTED "disconnected" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_WIFI "wifi" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_CELLULAR "cellular" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_ETHERNET "ethernet" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_BT "bt" + +/** + * @brief Definition for value of EVENT_KEY_NETWORK_STATUS. + * @since_tizen 3.0 + */ +#define EVENT_VAL_NETWORK_NET_PROXY "net_proxy" + +/** * @brief Adds the event handler for receiving event-data of interested events. * * @since_tizen 2.4 |