]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/resource.cpp
ICU-57165.0.1.tar.gz
[apple/icu.git] / icuSources / common / resource.cpp
CommitLineData
2ca993e8
A
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
18U_NAMESPACE_BEGIN
19
20ResourceValue::~ResourceValue() {}
21
22
23ResourceArraySink::~ResourceArraySink() {}
24
25void ResourceArraySink::put(
26 int32_t /*index*/, const ResourceValue & /*value*/, UErrorCode & /*errorCode*/) {}
27
28ResourceArraySink *ResourceArraySink::getOrCreateArraySink(
29 int32_t /*index*/, int32_t /*size*/, UErrorCode & /*errorCode*/) {
30 return NULL;
31}
32
33ResourceTableSink *ResourceArraySink::getOrCreateTableSink(
34 int32_t /*index*/, int32_t /*initialSize*/, UErrorCode & /*errorCode*/) {
35 return NULL;
36}
37
38void ResourceArraySink::leave(UErrorCode & /*errorCode*/) {}
39
40
41ResourceTableSink::~ResourceTableSink() {}
42
43void ResourceTableSink::put(
44 const char * /*key*/, const ResourceValue & /*value*/, UErrorCode & /*errorCode*/) {}
45
46void ResourceTableSink::putNoFallback(const char * /*key*/, UErrorCode & /*errorCode*/) {}
47
48ResourceArraySink *ResourceTableSink::getOrCreateArraySink(
49 const char * /*key*/, int32_t /*size*/, UErrorCode & /*errorCode*/) {
50 return NULL;
51}
52
53ResourceTableSink *ResourceTableSink::getOrCreateTableSink(
54 const char * /*key*/, int32_t /*initialSize*/, UErrorCode & /*errorCode*/) {
55 return NULL;
56}
57
58void ResourceTableSink::leave(UErrorCode & /*errorCode*/) {}
59
60U_NAMESPACE_END