Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -199,3 +199,13 @@ void TestScriptingInterface::setOtherAvatarsReplicaCount(int count) { · 198 unmodified lines | ||
| 199 | 199 | int TestScriptingInterface::getOtherAvatarsReplicaCount() { |
| 200 | 200 | return qApp->getOtherAvatarsReplicaCount(); |
| 201 | 201 | } |
| 202 | + | |
| 203 | +QString TestScriptingInterface::getOperatingSystemType() { | |
| 204 | +#ifdef Q_OS_WIN | |
| 205 | + return "WINDOWS"; | |
| 206 | +#elif defined Q_OS_MAC | |
| 207 | + return "MACOS"; | |
| 208 | +#else | |
| 209 | + return "UNKNOWN"; | |
| 210 | +#endif | |
| 211 | +} | |