Update license
[apps/core/preloaded/ug-setting-homescreen-efl.git] / homescreen-setting-efl.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (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 #ifndef __HOMESCREEN_SETTING_EFL_H__
18 #define __HOMESCREEN_SETTING_EFL_H__
19
20 #ifdef  LOG_TAG
21 #undef  LOG_TAG
22 #endif
23 #define LOG_TAG "ug-setting-homescreen"
24
25 #include <dlog.h>
26
27 #define HOMESET_ERR(fmt, arg...)  LOGE(" "fmt, ##arg)
28 #define HOMESET_WARN(fmt, arg...) LOGW(" "fmt, ##arg)
29 #define HOMESET_DBG(fmt, arg...)  LOGD(" "fmt, ##arg)
30
31 #include <Elementary.h>
32 #include <libintl.h>
33 #include <ui-gadget-module.h>
34
35 #define PKGNAME "ug-setting-homescreen-efl"
36
37 #define HOMESET_DOMAIN "ug-setting-homescreen-efl"
38 #define HOMESET_TEXT(str) dgettext(HOMESET_DOMAIN, str)
39 #define _S(str) dgettext("sys_string", str)
40
41 /* User created ug data */
42 struct ug_data
43 {
44         Evas_Object *base;
45         ui_gadget_h ug;
46
47         Evas_Object *naviframe;
48
49         // for main view
50         Evas_Object *genlist_main;
51 };
52
53 #endif /* __HOMESCREEN_SETTING_EFL_H__ */