2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FSysRuntimeInfo.cpp
19 * @brief This is the implementation file for RuntimeInfo class.
22 * This file contains the implementation of RuntimeInfo class.
25 #include <FBaseSysLog.h>
26 #include <FSysRuntimeInfo.h>
27 #include <FSys_RuntimeInfoImpl.h>
28 #include <FSec_AccessController.h>
30 using namespace Tizen::Base;
31 using namespace Tizen::Security;
33 namespace Tizen { namespace System
36 RuntimeInfo::RuntimeInfo(void)
37 :__pRuntimeInfoImpl(null)
41 RuntimeInfo::~RuntimeInfo(void)
46 RuntimeInfo::GetValue(const String& key, String& value)
48 return _RuntimeInfoImpl::GetValue(key, value);
52 RuntimeInfo::GetValue(const String& key, int& value)
54 return _RuntimeInfoImpl::GetValue(key, value);
58 RuntimeInfo::GetValue(const String& key, long long& value)
60 return _RuntimeInfoImpl::GetValue(key, value);
64 RuntimeInfo::GetValue(const String& key, double& value)
66 return _RuntimeInfoImpl::GetValue(key, value);
70 RuntimeInfo::GetValue(const String& key, bool& value)
72 return _RuntimeInfoImpl::GetValue(key, value);
76 RuntimeInfo::GetValue(const String& key, UuId& value)
78 return _RuntimeInfoImpl::GetValue(key, value);
82 RuntimeInfo::GetValueAsync(const String& key, IRuntimeInfoGetIntAsyncResultListener* listener)
84 return _RuntimeInfoImpl::GetValueAsync(key, listener);
88 RuntimeInfo::GetValueAsync(const String& key, IRuntimeInfoGetLonglongAsyncResultListener* listener)
90 return _RuntimeInfoImpl::GetValueAsync(key, listener);