mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
remove ctor and dtor for AssetMappingsScriptingInterface
This commit is contained in:
parent
85fe1349eb
commit
ea5349f7a0
2 changed files with 0 additions and 9 deletions
|
@ -18,12 +18,6 @@
|
|||
#include <MappingRequest.h>
|
||||
#include <NetworkLogging.h>
|
||||
|
||||
AssetMappingsScriptingInterface::AssetMappingsScriptingInterface() {
|
||||
}
|
||||
AssetMappingsScriptingInterface::~AssetMappingsScriptingInterface() {
|
||||
qDebug() << "Destroying mapping interface";
|
||||
}
|
||||
|
||||
void AssetMappingsScriptingInterface::setMapping(QString path, QString hash, QJSValue callback) {
|
||||
auto assetClient = DependencyManager::get<AssetClient>();
|
||||
auto request = assetClient->createSetMappingRequest(path, hash);
|
||||
|
|
|
@ -48,9 +48,6 @@ class AssetMappingsScriptingInterface : public QObject, public Dependency {
|
|||
Q_OBJECT
|
||||
Q_PROPERTY(AssetMappingModel* mappingModel READ getAssetMappingModel CONSTANT)
|
||||
public:
|
||||
AssetMappingsScriptingInterface();
|
||||
~AssetMappingsScriptingInterface();
|
||||
|
||||
Q_INVOKABLE AssetMappingModel* getAssetMappingModel() { return &_assetMappingModel; }
|
||||
|
||||
Q_INVOKABLE void setMapping(QString path, QString hash, QJSValue callback);
|
||||
|
|
Loading…
Reference in a new issue