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