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.
17 #ifndef __DEF_WORLDCLOCK_ADDVIEW_H_
18 #define __DEF_WORLDCLOCK_ADDVIEW_H_
20 #include <Elementary.h>
21 #include "worldclock.h"
24 * Create add view for append new city into the selection list of worldclock
26 * @param[in] parent Evas_Object which is the parent of add view
27 * @param[in] data data which used in this function
28 * @param[in] func Callback function which used for invoking when exit from add view
30 * @return FAILED if create add view failed.
31 * SUCCESS if create add view successfully.
33 int worldclock_addview_add(Evas_Object *parent, void *data, Wcl_Return_Cb func);
36 * Release all resources which used in add view when exit from add view
38 * @param[in] data data which used in this function
42 void worldclock_addview_free(void *data);
44 #endif /* __DEF_WORLDCLOCK_ADDVIEW_H_ */