3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.1 (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://floralicense.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.
19 #ifndef __MEMO_GENLIST_H__
20 #define __MEMO_GENLIST_H__
22 typedef struct __gl_data_t {
27 Evas_Smart_Cb on_select;
30 Evas_Smart_Cb on_change;
32 Evas_Smart_Cb on_delete;
33 Evas_Smart_Cb on_send;
40 char *memo_gl_label_get(void *data, Evas_Object *obj, const char *part);
41 Evas_Object *memo_gl_icon_get(void *data, Evas_Object *obj, const char *part);
42 Eina_Bool memo_gl_state_get(void *data, Evas_Object *obj, const char *part);
43 void memo_gl_del(void *data, Evas_Object *obj);
44 void memo_gl_itc_init(Elm_Genlist_Item_Class *itc, const char *style);
45 void memo_gld_init(gl_data_t *data, memo_data_t *md, void *user_data, Evas_Smart_Cb on_select);
46 gl_data_t *memo_gld_sentinel_create(void *user_data);
48 #endif /* __MEMO_GENLIST_H__ */