summaryrefslogtreecommitdiff
path: root/indra/newview/rlvhandler.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2024-09-02 01:39:17 +0200
committerKitty Barnett <develop@catznip.com>2024-09-02 01:39:17 +0200
commit7402fe6412e98e4b295ee3e04874f379c752f7a0 (patch)
tree65b3bfb411094953f7e2cac6df9d0c73462cb49e /indra/newview/rlvhandler.h
parentb82e9b73d35e41ed51063905dd31ccced9e97266 (diff)
Add basic scaffolding to support reply commands and handle @versionXXX as an illustration
Diffstat (limited to 'indra/newview/rlvhandler.h')
-rw-r--r--indra/newview/rlvhandler.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/rlvhandler.h b/indra/newview/rlvhandler.h
index 8cf054e98e..a5e91548ef 100644
--- a/indra/newview/rlvhandler.h
+++ b/indra/newview/rlvhandler.h
@@ -3,7 +3,7 @@
#include "llchat.h"
#include "llsingleton.h"
-#include "rlvdefines.h"
+#include "rlvhelper.h"
class LLViewerObject;
@@ -15,15 +15,17 @@ class RlvHandler : public LLSingleton<RlvHandler>
{
LLSINGLETON_EMPTY_CTOR(RlvHandler);
-public:
/*
- * Helper functions
+ * Command processing
*/
public:
// Command processing helper functions
bool handleSimulatorChat(std::string& message, const LLChat& chat, const LLViewerObject* chatObj);
Rlv::ECmdRet processCommand(const LLUUID& idObj, const std::string& stCmd, bool fromObj);
+protected:
+ Rlv::ECmdRet processCommand(std::reference_wrapper<const RlvCommand> rlvCmdRef, bool fromObj);
+public:
// Initialization (deliberately static so they can safely be called in tight loops)
static bool canEnable();
static bool isEnabled() { return mIsEnabled; }