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.
20 #include <Elementary.h>
22 typedef void (*Time_Changed_Callback)(void *data, struct tm* updated_tm);
24 Elm_Object_Item* cal_genlist_item_timepicker_add(Evas_Object *genlist,
25 const char* title, const struct tm* time, Eina_Bool allday, Eina_Bool is_hour24,
26 Time_Changed_Callback time_changed_callback, void* data);
28 void cal_genlist_item_timepicker_update_value(Elm_Object_Item* item, const struct tm* time);
30 void cal_genlist_item_timepicker_update_mode(
31 Elm_Object_Item* item, Eina_Bool allday, Eina_Bool is_hour24);
33 void cal_genlist_item_timepicker_disabled_set(Elm_Object_Item* item, Eina_Bool disabled);