Remove SMACK rule file(.rule) according three domain model
[apps/core/preloaded/message-app.git] / class0 / msg-ui-class0-main.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *    http://floralicense.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef __DEF_msg_ui_class0_main_H__
19 #define __DEF_msg_ui_class0_main_H__
20
21 #include <stdio.h>
22 #include <app.h>
23 #include <utilX.h>
24 #include <Ecore_X.h>
25 #include "msg-ui-util.h"
26 #include <msg.h>
27 #include <msg_storage.h>
28 #include <msg_transport.h>
29 #include <Elementary.h>
30
31 #define PACKAGE "msg-ui-class0" /* for i18n */
32 #define GRP_MAIN "main"
33
34 #define MSG_CLASS0_EDJ          EDJDIR"/msg_class0.edj"
35
36 struct appdata {
37         int root_w;
38         int root_h;
39         int root_x;
40         int root_y;
41         double w_ratio, h_ratio;
42
43         Evas *evas;
44         Evas_Object *win_main;
45         Evas_Object *bg;
46         Evas_Object *layout_main;
47         Evas_Object *navi_frame;
48         Evas_Object *label;
49         Evas_Object *left_btn;
50         Evas_Object *right_btn;
51         msg_handle_t msgHandle;
52
53         /* argument */
54         // int msg_id;
55         Eina_List *msgid_list;
56         int cur_rotation;
57
58         msg_struct_t msgInfo;
59 };
60
61 void msg_ui_class0_exit(void *data);
62 int main(int argc, char **argv);
63
64 #endif /* __DEF_msg_ui_class0_main_H__ */