Fix city list too large prblem
[apps/home/libug-worldclock-efl.git] / include / clock_fwk_icu_label.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 __CLOCK_FWK_ICU_LABEL_H__
20 #define __CLOCK_FWK_ICU_LABEL_H__
21
22 #include <stdio.h>
23 #include <string.h>
24 #include <stdlib.h>
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30         void init_alphabetic_index();
31
32         void uninit_alphabetic_index();
33
34         int32_t get_alphabetic_index(char *cityname);
35
36         char *get_alphabetic_index_name(int32_t index);
37
38 #ifdef __cplusplus
39 }
40 #endif
41 #endif