summaryrefslogtreecommitdiffstats
path: root/src/core/nodes/qnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/nodes/qnode.h')
-rw-r--r--src/core/nodes/qnode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/nodes/qnode.h b/src/core/nodes/qnode.h
index cf3a16301..1fe03f5e0 100644
--- a/src/core/nodes/qnode.h
+++ b/src/core/nodes/qnode.h
@@ -42,6 +42,7 @@
#include <Qt3DCore/qnodecreatedchange.h>
#include <Qt3DCore/qnodeid.h>
+#include <Qt3DCore/qnodecommand.h>
#include <Qt3DCore/qscenechange.h>
#include <Qt3DCore/qt3dcore_global.h>
#include <QtCore/QObject>
@@ -98,6 +99,10 @@ public:
void clearPropertyTracking(const QString &propertyName);
void clearPropertyTrackings();
+ QNodeCommand::CommandId sendCommand(const QString &name, const QVariant &data = QVariant(),
+ QNodeCommand::CommandId replyTo = QNodeCommand::CommandId());
+ void sendReply(const QNodeCommandPtr &command);
+
public Q_SLOTS:
void setParent(QNode *parent);
void setEnabled(bool isEnabled);