3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.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
9 * http://www.tizenopensource.org/license
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.
18 #ifndef __memo_efl_H__
19 #define __memo_efl_H__
21 #include <Elementary.h>
24 #include <ui-gadget.h>
25 #include <memo-assist.h>
28 #define PKGNAME "ug-memo-efl"
30 #define _EDJ(o) elm_layout_edje_get(o)
31 #define _(s) dgettext(PKGNAME, s)
32 #define dgettext_noop(s) (s)
33 #define N_(s) dgettext_noop(s)
35 #define EDJE_COLOR_CLASS_SET(name, r, g, b, a)\
36 (edje_color_class_set(name, r, g, b, a, 0, 0, 0, 0, 0, 0, 0, 0))\
38 #define EDJE_COLOR_CLASS_GET(name, r, g, b, a)\
39 (edje_color_class_get(name, r, g, b, a, 0, 0, 0, 0, 0, 0, 0, 0))\
41 typedef struct ug_data {
44 char buf[MEMO_BUFFER_SIZE]; /* for temporarily usage only */
46 Elm_Theme *th; /* customized theme for UG */
49 Eina_Bool edit_view_pre_condition_check(service_h service);
50 void *memo_load_edit_view(ug_data_t *ugd, service_h service);
51 void memo_del_edit_view(void *h_ev);
52 void *memo_load_select_view(ug_data_t *ugd, service_h service);
53 void *memo_load_detail_view(ug_data_t *ugd, service_h service);
55 #endif /* __memo_efl_H__ */