summaryrefslogtreecommitdiff
path: root/indra/newview/llcommandhandler.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-12-21 14:24:21 -0500
committerNat Goodspeed <nat@lindenlab.com>2009-12-21 14:24:21 -0500
commit0e44480705631ffe6a1f3086527411ecebfc0ec7 (patch)
tree1371940d33e160b9c161cc777cb46d54ec5acac4 /indra/newview/llcommandhandler.h
parent6ed6bed5acd5352b5c3ca02f86a62397f5257a5f (diff)
Add event API to enumerate registered LLCommandHandler instances.
Diffstat (limited to 'indra/newview/llcommandhandler.h')
-rw-r--r--indra/newview/llcommandhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llcommandhandler.h b/indra/newview/llcommandhandler.h
index 1bae6d9414..a1d4c880f5 100644
--- a/indra/newview/llcommandhandler.h
+++ b/indra/newview/llcommandhandler.h
@@ -34,6 +34,8 @@
#ifndef LLCOMMANDHANDLER_H
#define LLCOMMANDHANDLER_H
+#include "llsd.h"
+
/* Example: secondlife:///app/foo/<uuid>
Command "foo" that takes one parameter, a UUID.
@@ -103,6 +105,9 @@ public:
// Execute a command registered via the above mechanism,
// passing string parameters.
// Returns true if command was found and executed correctly.
+ /// Return an LLSD::Map of registered LLCommandHandlers and associated
+ /// info (e.g. EUntrustedAccess).
+ static LLSD enumerate();
};
#endif