Backup : 0813
[apps/native/sample/adventure.git] / new / inc / main.h
1 /*\r
2  * Samsung API\r
3  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd.\r
4  *\r
5  * Licensed under the Apache License, Version 2.0 (the License);\r
6  * you may not use this file except in compliance with the License.\r
7  * You may obtain a copy of the License at\r
8  *\r
9  * http://www.apache.org/license/\r
10  *\r
11  * Unless required by applicable law or agreed to in writing, software\r
12  * distributed under the License is distributed on an AS IS BASIS,\r
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14  * See the License for the specific language governing permissions and\r
15  * limitations under the License.\r
16  */\r
17 \r
18 #ifndef __MOMENT_H__\r
19 #define __MOMENT_H__\r
20 \r
21 #include <app.h>\r
22 #include <Elementary.h>\r
23 #include <system_settings.h>\r
24 #include <efl_extension.h>\r
25 #include <dlog.h>\r
26 \r
27 #ifdef  LOG_TAG\r
28 #undef  LOG_TAG\r
29 #endif\r
30 #define LOG_TAG "MOMENT"\r
31 \r
32 #if !defined(PACKAGE)\r
33 #define PACKAGE "org.tizen.moment"\r
34 #endif\r
35 \r
36 #define PATH_LEN 1024\r
37 \r
38 struct _moment_info_s {\r
39         Evas_Object *win;\r
40         Evas_Object *conform;\r
41         Evas_Object *ui_manager;\r
42         Evas_Object *main_view;\r
43         Evas_Object *result_view;\r
44         Evas_Object *scroller;\r
45 \r
46         Evas *e;\r
47 \r
48         int width;\r
49         int height;\r
50 };\r
51 typedef struct _moment_info_s moment_info_s;\r
52 \r
53 #endif /* __MOMENT_H__ */\r