]> git.saurik.com Git - apple/icu.git/blob - icuSources/common/resource.cpp
ICU-57163.0.1.tar.gz
[apple/icu.git] / icuSources / common / resource.cpp
1 /*
2 *******************************************************************************
3 * Copyright (C) 2015, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *******************************************************************************
6 * resource.cpp
7 *
8 * created on: 2015nov04
9 * created by: Markus W. Scherer
10 */
11
12 #include "resource.h"
13
14 #include "unicode/utypes.h"
15 #include "unicode/uobject.h"
16 #include "unicode/ures.h"
17
18 U_NAMESPACE_BEGIN
19
20 ResourceValue::~ResourceValue() {}
21
22
23 ResourceArraySink::~ResourceArraySink() {}
24
25 void ResourceArraySink::put(
26 int32_t /*index*/, const ResourceValue & /*value*/, UErrorCode & /*errorCode*/) {}
27
28 ResourceArraySink *ResourceArraySink::getOrCreateArraySink(
29 int32_t /*index*/, int32_t /*size*/, UErrorCode & /*errorCode*/) {
30 return NULL;
31 }
32
33 ResourceTableSink *ResourceArraySink::getOrCreateTableSink(
34 int32_t /*index*/, int32_t /*initialSize*/, UErrorCode & /*errorCode*/) {
35 return NULL;
36 }
37
38 void ResourceArraySink::leave(UErrorCode & /*errorCode*/) {}
39
40
41 ResourceTableSink::~ResourceTableSink() {}
42
43 void ResourceTableSink::put(
44 const char * /*key*/, const ResourceValue & /*value*/, UErrorCode & /*errorCode*/) {}
45
46 void ResourceTableSink::putNoFallback(const char * /*key*/, UErrorCode & /*errorCode*/) {}
47
48 ResourceArraySink *ResourceTableSink::getOrCreateArraySink(
49 const char * /*key*/, int32_t /*size*/, UErrorCode & /*errorCode*/) {
50 return NULL;
51 }
52
53 ResourceTableSink *ResourceTableSink::getOrCreateTableSink(
54 const char * /*key*/, int32_t /*initialSize*/, UErrorCode & /*errorCode*/) {
55 return NULL;
56 }
57
58 void ResourceTableSink::leave(UErrorCode & /*errorCode*/) {}
59
60 U_NAMESPACE_END