mirror of
https://github.com/overte-org/overte.git
synced 2025-04-24 05:53:29 +02:00
add a deleteMapping call for single path to scripting interface
This commit is contained in:
parent
4bbb8779e3
commit
5a197838f4
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ public:
|
|||
Q_INVOKABLE void setMapping(QString path, QString hash, QScriptValue callback);
|
||||
Q_INVOKABLE void getMapping(QString path, QScriptValue callback);
|
||||
Q_INVOKABLE void deleteMappings(QStringList paths, QScriptValue callback);
|
||||
Q_INVOKABLE void deleteMapping(QString path, QScriptValue callback) { deleteMappings(QStringList(path), callback); }
|
||||
Q_INVOKABLE void getAllMappings(QScriptValue callback);
|
||||
Q_INVOKABLE void renameMapping(QString oldPath, QString newPath, QScriptValue callback);
|
||||
protected:
|
||||
|
|
Loading…
Reference in a new issue