summaryrefslogtreecommitdiff
path: root/inc/worldclock_data.h
blob: 8ab37f06ebbccbe2e8a32ec8e027e9a752bdaf17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Copyright (c) 2012-2015 Samsung Electronics Co., Ltd All Rights Reserved
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

#ifndef __DEF_WORLDCLOCK_DATA_H_
#define __DEF_WORLDCLOCK_DATA_H_

#include <Elementary.h>
#include "worldclock_types.h"

Eina_List *worldclock_ug_data_get_default_city_list(Wcl_Selection_Flag selectFlag);
Eina_Bool worldclock_ug_data_get_city_status_from_db(Wcl_CitySet * p_record);
Eina_Bool worldclock_ug_data_open_database();
Eina_Bool worldclock_ug_data_close_database();
void worldclock_ug_data_cityset_copy(Wcl_CitySet * dst_city, const Wcl_CitySet * src_city);

/*TODO Functions below are not used in current realization. Probably it will be used for Clock application*/
Wcl_CitySet *worldclock_ug_data_get_local_city();
Eina_List *worldclock_ug_data_get_all_added_city();
Eina_List *worldclock_ug_data_get_search_city_list(const char *search_txt,
		Wcl_Search_Type search_type, Wcl_Selection_Flag selectFlag);
Eina_Bool worldclock_ug_data_update_db_record(Wcl_CitySet * p_record);

#endif				/* __DEF_WORLDCLOCK_DATA_H_ */