1 /******************************************************************
3 * Copyright 2015 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
21 #include "simulator_platform_info.h"
23 std::string PlatformInfo::getPlatformID() const
28 std::string PlatformInfo::getPlatformVersion() const
30 return m_platformVersion;
33 std::string PlatformInfo::getManufacturerName() const
35 return m_manufacturerName;
38 std::string PlatformInfo::getManufacturerUrl() const
40 return m_manufacturerUrl;
43 std::string PlatformInfo::getModelNumber() const
48 std::string PlatformInfo::getDateOfManfacture() const
50 return m_dateOfManufacture;
53 std::string PlatformInfo::getOSVersion() const
55 return m_operationSystemVersion;
58 std::string PlatformInfo::getHardwareVersion() const
60 return m_hardwareVersion;
63 std::string PlatformInfo::getFirmwareVersion() const
65 return m_firmwareVersion;
68 std::string PlatformInfo::getSupportUrl() const
73 std::string PlatformInfo::getSystemTime() const
78 void PlatformInfo::setPlatformID(const std::string &platformId)
80 m_platformID = platformId;
83 void PlatformInfo::setPlatformVersion(const std::string &platformVersion)
85 m_platformVersion = platformVersion;
88 void PlatformInfo::setManufacturerName(const std::string &manufacturerName)
90 m_manufacturerName = manufacturerName;
93 void PlatformInfo::setManufacturerUrl(const std::string &manufacturerUrl)
95 m_manufacturerUrl = manufacturerUrl;
98 void PlatformInfo::setModelNumber(const std::string &modelNumber)
100 m_modelNumber = modelNumber;
103 void PlatformInfo::setDateOfManfacture(const std::string &dateOfManufacture)
105 m_dateOfManufacture = dateOfManufacture;
108 void PlatformInfo::setOSVersion(const std::string &osVersion)
110 m_operationSystemVersion = osVersion;
113 void PlatformInfo::setHardwareVersion(const std::string &hwVersion)
115 m_hardwareVersion = hwVersion;
118 void PlatformInfo::setFirmwareVersion(const std::string &firmwareVersion)
120 m_firmwareVersion = firmwareVersion;
123 void PlatformInfo::setSupportUrl(const std::string &supportUrl)
125 m_supportUrl = supportUrl;
128 void PlatformInfo::setSystemTime(const std::string &systemTime)
130 m_systemTime = systemTime;