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 ******************************************************************/
20 #ifndef SIMULATOR_PLATFORM_INFO_H_
21 #define SIMULATOR_PLATFORM_INFO_H_
28 * @brief This class contains remote device platform information and provide APIs access it.
34 * This method is for getting platfom id.
36 * @return Platform id.
38 std::string getPlatformID() const;
41 * This method is for getting platform version.
43 * @return Platform version.
45 std::string getPlatformVersion() const;
48 * This method is for getting manufacturer name.
50 * @return manufacturer name.
52 std::string getManufacturerName() const;
55 * This method is for getting manufacturer URL.
57 * @return manufacturer URL.
59 std::string getManufacturerUrl() const;
62 * This method is for getting model number.
64 * @return Model number.
66 std::string getModelNumber() const;
69 * This method is for getting date of manufacture.
71 * @return Date of manufacture.
73 std::string getDateOfManfacture() const;
76 * This method is for getting operating system version.
78 * @return Operating system version.
80 std::string getOSVersion() const;
83 * This method is for getting hardware version.
85 * @return Hardware version.
87 std::string getHardwareVersion() const;
90 * This method is for getting firmware version.
92 * @return Firmware version.
94 std::string getFirmwareVersion() const;
97 * This method is for getting support link URL.
99 * @return URL of support link.
101 std::string getSupportUrl() const;
104 * This method is for getting system time.
106 * @return System time.
108 std::string getSystemTime() const;
110 void setPlatformID(const std::string &platformId);
111 void setPlatformVersion(const std::string &platformVersion);
112 void setManufacturerName(const std::string &manufacturerName);
113 void setManufacturerUrl(const std::string &manufacturerUrl);
114 void setModelNumber(const std::string &modelNumber);
115 void setDateOfManfacture(const std::string &dateOfManufacture);
116 void setOSVersion(const std::string &osVersion);
117 void setHardwareVersion(const std::string &hwVersion);
118 void setFirmwareVersion(const std::string &firmwareVersion);
119 void setSupportUrl(const std::string &supportUrl);
120 void setSystemTime(const std::string &systemTime);
123 std::string m_platformID;
124 std::string m_manufacturerName;
125 std::string m_manufacturerUrl;
126 std::string m_modelNumber;
127 std::string m_dateOfManufacture;
128 std::string m_platformVersion;
129 std::string m_operationSystemVersion;
130 std::string m_hardwareVersion;
131 std::string m_firmwareVersion;
132 std::string m_supportUrl;
133 std::string m_systemTime;