Fix city list too large prblem
[apps/home/libug-worldclock-efl.git] / include / worldclock_add_view.h
1 /*
2 *
3 * Copyright 2012  Samsung Electronics Co., Ltd
4 *
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
8 *
9 *    http://www.tizenopensource.org/license
10 *
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.
16 *
17 */
18
19 #ifndef __DEF_WORLDCLOCK_ADDVIEW_H_
20 #define __DEF_WORLDCLOCK_ADDVIEW_H_
21
22 #include <Elementary.h>
23 #include "worldclock.h"
24
25 /**
26  * Create add view for append new city into the selection list of worldclock
27  *
28  * @param[in]  parent    Evas_Object which is the parent of add view
29  * @param[in]  data      data which used in this function
30  * @param[in]  func      Callback function which used for invoking when exit from add view
31  *
32  * @return    FAILED if create add view failed.
33  *            SUCCESS if create add view successfully.
34  */
35 int worldclock_ugview_add(Evas_Object *parent, void *data, Wcl_Return_Cb func);
36
37 /**
38  * Release all resources which used in add view when exit from add view
39  *
40  * @param[in]  data   data which used in this function
41  *
42  * @return
43  */
44 void worldclock_ugview_free(void *data);
45
46 #endif                          /* __DEF_WORLDCLOCK_ADDVIEW_H_ */