mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:18:05 +02:00
style and memory leak fixes
This commit is contained in:
parent
e2d7431456
commit
92efc1a3b5
2 changed files with 12 additions and 11 deletions
|
@ -12,5 +12,6 @@
|
||||||
#include "AgentScriptingInterface.h"
|
#include "AgentScriptingInterface.h"
|
||||||
|
|
||||||
AgentScriptingInterface::AgentScriptingInterface(Agent* agent) :
|
AgentScriptingInterface::AgentScriptingInterface(Agent* agent) :
|
||||||
|
QObject(agent),
|
||||||
_agent(agent)
|
_agent(agent)
|
||||||
{ }
|
{ }
|
||||||
|
|
|
@ -18,17 +18,17 @@
|
||||||
#include "Agent.h"
|
#include "Agent.h"
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @namespace Agent
|
* @namespace Agent
|
||||||
*
|
*
|
||||||
* @hifi-assignment-client
|
* @hifi-assignment-client
|
||||||
*
|
*
|
||||||
* @property {boolean} isAvatar
|
* @property {boolean} isAvatar
|
||||||
* @property {boolean} isPlayingAvatarSound <em>Read-only.</em>
|
* @property {boolean} isPlayingAvatarSound <em>Read-only.</em>
|
||||||
* @property {boolean} isListeningToAudioStream
|
* @property {boolean} isListeningToAudioStream
|
||||||
* @property {boolean} isNoiseGateEnabled
|
* @property {boolean} isNoiseGateEnabled
|
||||||
* @property {number} lastReceivedAudioLoudness <em>Read-only.</em>
|
* @property {number} lastReceivedAudioLoudness <em>Read-only.</em>
|
||||||
* @property {Uuid} sessionUUID <em>Read-only.</em>
|
* @property {Uuid} sessionUUID <em>Read-only.</em>
|
||||||
*/
|
*/
|
||||||
class AgentScriptingInterface : public QObject {
|
class AgentScriptingInterface : public QObject {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(bool isAvatar READ isAvatar WRITE setIsAvatar)
|
Q_PROPERTY(bool isAvatar READ isAvatar WRITE setIsAvatar)
|
||||||
|
|
Loading…
Reference in a new issue