diff options
author | Kitty Barnett <develop@catznip.com> | 2024-09-02 01:39:17 +0200 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-11 16:27:57 +0800 |
commit | 838a398036ec96f2fd2149c0560182913e00860b (patch) | |
tree | 17a7e9749e9b5edb323f90f0729a0dfd160d26cd /indra/newview/rlvhandler.h | |
parent | 3558444264ce3dce900f75156033bcf3956360b7 (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.h | 8 |
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; } |