Initialize Tizen 2.3
[framework/system/oma-dm-agent.git] / include / framework / platform-event-handler / dm_platform_event_handler_internal.h
1 /*
2  * oma-dm-agent
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #ifndef DM_PLATFORM_EVENT_HANDLER_INTERNAL_H_
19 #define DM_PLATFORM_EVENT_HANDLER_INTERNAL_H_
20
21 typedef enum {
22         IP_PUSH_EVENT = 0,
23         WAP_PUSH_EVENT,
24         UI_EVENT,
25         SERVER_BOOTSTRAP_EVENT,
26         POLL_EVENT,
27         SIM_CHANGE_EVENT
28 } Event_Type;
29
30 typedef enum {
31         NOTI_TYPE_NOT_SPECIFIED = 0,
32         NOTI_TYPE_BACKGRUOUND,
33         NOTI_TYPE_INFOMATIVE,
34         NOTI_TYPE_USERINTERACTION,
35         NOTI_TYPE_POLLINTERACTION,
36         NOTI_TYPE_SIMCHANGE_INTERACTION
37 } NotI_Type;
38
39 typedef struct {
40         Event_Type type;
41         char *session_id;
42         char *server_id;
43         NotI_Type noti_type;
44         char *ui_mode;
45 } Event_Contents;
46
47 #endif                          /* DM_PLATFORM_EVENT_HANDLER_INTERNAL_H_ */