Tizen 2.0 Release
[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 } Event_Type;
27
28 typedef enum {
29         NOTI_TYPE_NOT_SPECIFIED = 0,
30         NOTI_TYPE_BACKGRUOUND,
31         NOTI_TYPE_INFOMATIVE,
32         NOTI_TYPE_USERINTERACTION
33 } NotI_Type;
34
35 typedef struct {
36         Event_Type type;
37         char *session_id;
38         char *server_id;
39         NotI_Type noti_type;
40         char *ui_mode;
41 } Event_Contents;
42
43 #endif                          /* DM_PLATFORM_EVENT_HANDLER_INTERNAL_H_ */