Showing the changes to interface/src/ModelPackager.cpp (1 of 2 files). Show all
Unified · Split
| @@ -0,0 +1,36 @@ | |||
| 1 | // | ||
| 2 | // ModelPackager.cpp | ||
| 3 | // | ||
| 4 | // | ||
| 5 | // Created by Clement on 3/9/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 "ModelSelector.h" | ||
| 13 | #include "ModelPackager.h" | ||
| 14 | |||
| 15 | void ModelPackager::package() { | ||
| 16 | ModelPackager packager; | ||
| 17 | if (packager.selectModel()) { | ||
| 18 | packager.editProperties(); | ||
| 19 | packager.zipModel(); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | bool ModelPackager::selectModel() { | ||
| 24 | ModelSelector selector; | ||
| 25 | return selector.exec() == QDialog::Accepted; | ||
| 26 | } | ||
| 27 | |||
| 28 | void ModelPackager::editProperties() { | ||
| 29 | |||
| 30 | } | ||
| 31 | |||
| 32 | void ModelPackager::zipModel() { | ||
| 33 | |||
| 34 | } | ||
| 35 | |||
| 36 | |||