1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/media/omx-plugin/lib/gb/libutils/libutils.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,60 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim:set ts=2 sw=2 sts=2 et cindent: */ 1.6 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.8 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 +#include "mozilla/Types.h" 1.10 +#include "utils/RefBase.h" 1.11 +#include "utils/String16.h" 1.12 +#include "utils/String8.h" 1.13 + 1.14 +namespace android { 1.15 +MOZ_EXPORT RefBase::RefBase() : mRefs(0) 1.16 +{ 1.17 +} 1.18 + 1.19 +MOZ_EXPORT RefBase::~RefBase() 1.20 +{ 1.21 +} 1.22 + 1.23 +MOZ_EXPORT void RefBase::incStrong(const void *id) const 1.24 +{ 1.25 +} 1.26 + 1.27 +MOZ_EXPORT void RefBase::decStrong(const void *id) const 1.28 +{ 1.29 +} 1.30 + 1.31 +MOZ_EXPORT void RefBase::onFirstRef() 1.32 +{ 1.33 +} 1.34 + 1.35 +MOZ_EXPORT void RefBase::onLastStrongRef(const void* id) 1.36 +{ 1.37 +} 1.38 + 1.39 +MOZ_EXPORT bool RefBase::onIncStrongAttempted(uint32_t flags, const void* id) 1.40 +{ 1.41 + return false; 1.42 +} 1.43 + 1.44 +MOZ_EXPORT void RefBase::onLastWeakRef(void const* id) 1.45 +{ 1.46 +} 1.47 + 1.48 +MOZ_EXPORT String16::String16(char const*) 1.49 +{ 1.50 +} 1.51 + 1.52 +MOZ_EXPORT String16::~String16() 1.53 +{ 1.54 +} 1.55 + 1.56 +MOZ_EXPORT String8::String8() 1.57 +{ 1.58 +} 1.59 + 1.60 +MOZ_EXPORT String8::~String8() 1.61 +{ 1.62 +} 1.63 +}