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.
19 #ifndef __DEF_WORLDCLOCK_ADDVIEW_H_
20 #define __DEF_WORLDCLOCK_ADDVIEW_H_
22 #include <Elementary.h>
23 #include "worldclock.h"
26 * Create add view for append new city into the selection list of worldclock
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
32 * @return FAILED if create add view failed.
33 * SUCCESS if create add view successfully.
35 int worldclock_ugview_add(Evas_Object *parent, void *data, Wcl_Return_Cb func);
38 * Release all resources which used in add view when exit from add view
40 * @param[in] data data which used in this function
44 void worldclock_ugview_free(void *data);
46 #endif /* __DEF_WORLDCLOCK_ADDVIEW_H_ */