OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 2000-2014, International Business Machines | 3 * Copyright (C) 2000-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 */ | 6 */ |
7 | 7 |
8 #ifndef URESIMP_H | 8 #ifndef URESIMP_H |
9 #define URESIMP_H | 9 #define URESIMP_H |
10 | 10 |
11 #include "unicode/ures.h" | 11 #include "unicode/ures.h" |
12 | 12 |
13 #include "uresdata.h" | 13 #include "uresdata.h" |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 * could be a non-failing error | 215 * could be a non-failing error |
216 * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WA
RNING </TT> | 216 * e.g.: <TT>U_USING_FALLBACK_WARNING</TT>,<TT>U_USING_DEFAULT_WA
RNING </TT> |
217 * @return a pointer to a UResourceBundle struct. If fill in pa
ram was NULL, caller must delete it | 217 * @return a pointer to a UResourceBundle struct. If fill in pa
ram was NULL, caller must delete it |
218 */ | 218 */ |
219 U_CAPI const UChar* U_EXPORT2 | 219 U_CAPI const UChar* U_EXPORT2 |
220 ures_getStringByKeyWithFallback(const UResourceBundle *resB, | 220 ures_getStringByKeyWithFallback(const UResourceBundle *resB, |
221 const char* inKey, | 221 const char* inKey, |
222 int32_t* len, | 222 int32_t* len, |
223 UErrorCode *status); | 223 UErrorCode *status); |
224 | 224 |
| 225 #ifdef __cplusplus |
| 226 |
| 227 U_CAPI void U_EXPORT2 |
| 228 ures_getAllArrayItemsWithFallback(const UResourceBundle *bundle, const char *pat
h, |
| 229 icu::ResourceArraySink &sink, UErrorCode &erro
rCode); |
| 230 |
| 231 U_CAPI void U_EXPORT2 |
| 232 ures_getAllTableItemsWithFallback(const UResourceBundle *bundle, const char *pat
h, |
| 233 icu::ResourceTableSink &sink, UErrorCode &erro
rCode); |
| 234 |
| 235 #endif /* __cplusplus */ |
| 236 |
225 /** | 237 /** |
226 * Get a version number by key | 238 * Get a version number by key |
227 * @param resB bundle containing version number | 239 * @param resB bundle containing version number |
228 * @param key the key for the version number | 240 * @param key the key for the version number |
229 * @param ver fillin for the version number | 241 * @param ver fillin for the version number |
230 * @param status error code | 242 * @param status error code |
231 */ | 243 */ |
232 U_CAPI void U_EXPORT2 | 244 U_CAPI void U_EXPORT2 |
233 ures_getVersionByKey(const UResourceBundle *resB, | 245 ures_getVersionByKey(const UResourceBundle *resB, |
234 const char *key, | 246 const char *key, |
(...skipping 24 matching lines...) Expand all Loading... |
259 * | 271 * |
260 * @param resourceBundle resource bundle in question | 272 * @param resourceBundle resource bundle in question |
261 * @param status just for catching illegal arguments | 273 * @param status just for catching illegal arguments |
262 * @return A Locale name | 274 * @return A Locale name |
263 */ | 275 */ |
264 U_CAPI const char* U_EXPORT2 | 276 U_CAPI const char* U_EXPORT2 |
265 ures_getLocaleInternal(const UResourceBundle* resourceBundle, | 277 ures_getLocaleInternal(const UResourceBundle* resourceBundle, |
266 UErrorCode* status); | 278 UErrorCode* status); |
267 | 279 |
268 #endif /*URESIMP_H*/ | 280 #endif /*URESIMP_H*/ |
OLD | NEW |