diff --git a/assignment-client/src/AgentScriptingInterface.cpp b/assignment-client/src/AgentScriptingInterface.cpp index 9fe1897b94..3000c2b96f 100644 --- a/assignment-client/src/AgentScriptingInterface.cpp +++ b/assignment-client/src/AgentScriptingInterface.cpp @@ -12,5 +12,6 @@ #include "AgentScriptingInterface.h" AgentScriptingInterface::AgentScriptingInterface(Agent* agent) : + QObject(agent), _agent(agent) { } diff --git a/assignment-client/src/AgentScriptingInterface.h b/assignment-client/src/AgentScriptingInterface.h index e35d85d130..9fa7688778 100644 --- a/assignment-client/src/AgentScriptingInterface.h +++ b/assignment-client/src/AgentScriptingInterface.h @@ -18,17 +18,17 @@ #include "Agent.h" /**jsdoc -* @namespace Agent -* -* @hifi-assignment-client -* -* @property {boolean} isAvatar -* @property {boolean} isPlayingAvatarSound Read-only. -* @property {boolean} isListeningToAudioStream -* @property {boolean} isNoiseGateEnabled -* @property {number} lastReceivedAudioLoudness Read-only. -* @property {Uuid} sessionUUID Read-only. -*/ + * @namespace Agent + * + * @hifi-assignment-client + * + * @property {boolean} isAvatar + * @property {boolean} isPlayingAvatarSound Read-only. + * @property {boolean} isListeningToAudioStream + * @property {boolean} isNoiseGateEnabled + * @property {number} lastReceivedAudioLoudness Read-only. + * @property {Uuid} sessionUUID Read-only. + */ class AgentScriptingInterface : public QObject { Q_OBJECT Q_PROPERTY(bool isAvatar READ isAvatar WRITE setIsAvatar)