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.
18 #ifndef SAVE_CANCEL_H_
19 #define SAVE_CANCEL_H_
21 #include <Elementary.h>
23 typedef void* cal_save_cancel_h;
25 typedef void (*save_cancel_cb)(void *data, Evas_Object *obj, void *event_info);
27 cal_save_cancel_h cal_save_cancel_create(Evas_Object *window, Evas_Object *conformant, Evas_Object *naviframe, save_cancel_cb save_cb, save_cancel_cb cancel_cb, void* data);
29 void cal_save_cancel_destroy(cal_save_cancel_h info);
31 void cal_save_cancel_set_button_text(cal_save_cancel_h info, const char *save_button_text, const char *cancel_button_text);
33 void cal_save_cancel_set_disabled(cal_save_cancel_h info, Eina_Bool is_disabled_save, Eina_Bool is_disabled_cancel);
35 #endif /* SAVE_CANCEL_H_ */