2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
19 #ifndef __DEF_CALC_VIEW_H_
20 #define __DEF_CALC_VIEW_H_
22 #include "calc-main.h"
24 char expression[MAX_EXPRESSION_LENGTH];
25 char result[MAX_RESULT_LENGTH];
36 void calc_view_load(struct appdata *ad);
46 void calc_view_load_in_idle(struct appdata *ad);
57 void calc_view_show_popup(char *msg, struct appdata *ad);
67 void calc_view_revise_input_scroller(struct appdata *ad);
78 void calc_view_show_result(const char *result, struct appdata *ad);
88 int calc_view_cursor_get_position(Evas_Object * entry);
99 void calc_view_cursor_set_position(Evas_Object * entry, int pos);
110 void calc_view_save_history(struct history_item item);
112 #endif /* __DEF_CALC_VIEW_H_ */