diff options
author | Tess Chu <tess@lindenlab.com> | 2007-11-15 22:39:12 +0000 |
---|---|---|
committer | Tess Chu <tess@lindenlab.com> | 2007-11-15 22:39:12 +0000 |
commit | 813b140d0767146b17acf4ad2fb96fbd5a347c34 (patch) | |
tree | d47a36708813b3f93b4049d822f966c48de4e576 /indra/newview/llcommandhandler.h | |
parent | 291d99bc66c4c2b8009ba723a43e2e97d24313f9 (diff) |
svn merge -r73880:73879 svn+ssh://svn/svn/linden/release. backing out viewer auth merge
Diffstat (limited to 'indra/newview/llcommandhandler.h')
-rw-r--r-- | indra/newview/llcommandhandler.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/indra/newview/llcommandhandler.h b/indra/newview/llcommandhandler.h index 0cb9d123fa..50928e210b 100644 --- a/indra/newview/llcommandhandler.h +++ b/indra/newview/llcommandhandler.h @@ -44,7 +44,7 @@ public: LLFooHandler() : LLCommandHandler("foo") { } // Your code here - bool handle(const LLSD& tokens, const LLSD& queryMap) + bool handle(const std::vector<std::string>& tokens) { if (tokens.size() < 1) return false; LLUUID id( tokens[0] ); @@ -65,8 +65,7 @@ public: virtual ~LLCommandHandler(); - virtual bool handle(const LLSD& params, - const LLSD& queryMap) = 0; + virtual bool handle(const std::vector<std::string>& params) = 0; // Execute the command with a provided (possibly empty) // list of parameters. // Return true if you did something, false if the parameters @@ -77,9 +76,7 @@ public: class LLCommandDispatcher { public: - static bool dispatch(const std::string& cmd, - const LLSD& params, - const LLSD& queryMap); + static bool dispatch(const std::string& cmd, const std::vector<std::string>& params); // Execute a command registered via the above mechanism, // passing string parameters. // Returns true if command was found and executed correctly. |