[Coding Style] Polish map.c
[apps/native/sample/adventure.git] / inc / main.h
1 /*
2  * Samsung API
3  * Copyright (c) 2009-2015 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/license/
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 __MOMENT_H__
19 #define __MOMENT_H__
20
21 #include <app.h>
22 #include <Elementary.h>
23 #include <system_settings.h>
24 #include <efl_extension.h>
25 #include <dlog.h>
26 #include <sqlite3.h>
27
28 #if !defined(PACKAGE)
29 #define PACKAGE "org.tizen.moment"
30 #endif
31
32 #define DATA_KEY_INFO "__info__"
33
34 struct _moment_info_s {
35         Evas_Object *win;
36         Evas_Object *conform;
37         Evas_Object *ui_manager;
38         Evas_Object *main_view;
39         Evas_Object *result_view;
40
41         Evas *e;
42         Eina_List *group_list;
43         sqlite3 *db;
44
45         int width;
46         int height;
47 };
48 typedef struct _moment_info_s moment_info_s;
49
50 #endif /* __MOMENT_H__ */