|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* vim:set ts=2 sw=2 sts=2 et cindent: */ |
|
3 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
|
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 #include "mozilla/Types.h" |
|
7 #include "utils/RefBase.h" |
|
8 #include "utils/String16.h" |
|
9 #include "utils/String8.h" |
|
10 #include "utils/Vector.h" |
|
11 |
|
12 namespace android { |
|
13 MOZ_EXPORT RefBase::RefBase() : mRefs(0) |
|
14 { |
|
15 } |
|
16 |
|
17 MOZ_EXPORT RefBase::~RefBase() |
|
18 { |
|
19 } |
|
20 |
|
21 MOZ_EXPORT void RefBase::incStrong(const void *id) const |
|
22 { |
|
23 } |
|
24 |
|
25 MOZ_EXPORT void RefBase::decStrong(const void *id) const |
|
26 { |
|
27 } |
|
28 |
|
29 MOZ_EXPORT void RefBase::onFirstRef() |
|
30 { |
|
31 } |
|
32 |
|
33 MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) |
|
34 { |
|
35 } |
|
36 |
|
37 MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) |
|
38 { |
|
39 return false; |
|
40 } |
|
41 |
|
42 MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) |
|
43 { |
|
44 } |
|
45 |
|
46 MOZ_EXPORT String16::String16(char const*) |
|
47 { |
|
48 } |
|
49 |
|
50 MOZ_EXPORT String16::~String16() |
|
51 { |
|
52 } |
|
53 |
|
54 MOZ_EXPORT String8::String8() |
|
55 { |
|
56 } |
|
57 |
|
58 MOZ_EXPORT String8::String8(const String8 &) |
|
59 { |
|
60 } |
|
61 |
|
62 MOZ_EXPORT String8::~String8() |
|
63 { |
|
64 } |
|
65 |
|
66 MOZ_EXPORT VectorImpl::VectorImpl(size_t, uint32_t) |
|
67 : mFlags(0), mItemSize(0) |
|
68 { |
|
69 } |
|
70 |
|
71 MOZ_EXPORT VectorImpl::VectorImpl(const VectorImpl &) |
|
72 : mFlags(0), mItemSize(0) |
|
73 { |
|
74 } |
|
75 |
|
76 MOZ_EXPORT VectorImpl::~VectorImpl() |
|
77 { |
|
78 } |
|
79 |
|
80 MOZ_EXPORT void VectorImpl::finish_vector() |
|
81 { |
|
82 } |
|
83 |
|
84 } |