Showing the changes to interface/src/scripting/HMDScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -0,0 +1,17 @@ | ||
| 1 | +// | |
| 2 | +// HMDScriptingInterface.cpp | |
| 3 | +// interface/src/scripting | |
| 4 | +// | |
| 5 | +// Created by Thijs Wenker on 1/12/15. | |
| 6 | +// Copyright 2015 High Fidelity, Inc. | |
| 7 | +// | |
| 8 | +// Distributed under the Apache License, Version 2.0. | |
| 9 | +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | |
| 10 | +// | |
| 11 | + | |
| 12 | +#include "HMDScriptingInterface.h" | |
| 13 | + | |
| 14 | +HMDScriptingInterface& HMDScriptingInterface::getInstance() { | |
| 15 | + static HMDScriptingInterface sharedInstance; | |
| 16 | + return sharedInstance; | |
| 17 | +} | |