Showing the changes to libraries/script-engine/src/ModelScriptingInterface.cpp (1 of 9 files). Show all
Unified · Split
| @@ -0,0 +1,31 @@ | ||
| 1 | +// | |
| 2 | +// ModelScriptingInterface.cpp | |
| 3 | +// libraries/script-engine/src | |
| 4 | +// | |
| 5 | +// Created by Seth Alves on 2017-1-27. | |
| 6 | +// Copyright 2017 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 "ModelScriptingInterface.h" | |
| 13 | + | |
| 14 | +ModelScriptingInterface::ModelScriptingInterface(QObject* parent) : QObject(parent) { | |
| 15 | +} | |
| 16 | + | |
| 17 | + | |
| 18 | +MeshProxy::MeshProxy(MeshPointer mesh) : _mesh(mesh) { | |
| 19 | +} | |
| 20 | + | |
| 21 | +MeshProxy::~MeshProxy() { | |
| 22 | +} | |
| 23 | + | |
| 24 | + | |
| 25 | +QScriptValue meshToScriptValue(QScriptEngine* engine, MeshProxy* const &in) { | |
| 26 | + QScriptValue obj("something"); | |
| 27 | + return obj; | |
| 28 | +} | |
| 29 | + | |
| 30 | +void meshFromScriptValue(const QScriptValue& value, MeshProxy* &out) { | |
| 31 | +} | |