summaryrefslogtreecommitdiff
path: root/indra/llcommon/lleventdispatcher.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-12-22 19:17:14 -0500
committerNat Goodspeed <nat@lindenlab.com>2009-12-22 19:17:14 -0500
commit5a1e07002a8851e9227cf85171c1af497c94f0cf (patch)
treede0bd5c68e6b7ee5865c528e2217844ced377a49 /indra/llcommon/lleventdispatcher.h
parent8077f1990de23b10d73034c919027d0f220abe48 (diff)
Add lleventhost queries to list LLEventAPIs or describe one.
Add LLEventDispatcher::getDispatchKey() to retrieve a previously- inaccessible value.
Diffstat (limited to 'indra/llcommon/lleventdispatcher.h')
-rw-r--r--indra/llcommon/lleventdispatcher.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/lleventdispatcher.h b/indra/llcommon/lleventdispatcher.h
index c8c4fe0c3c..1e625bcee8 100644
--- a/indra/llcommon/lleventdispatcher.h
+++ b/indra/llcommon/lleventdispatcher.h
@@ -139,6 +139,9 @@ public:
/// Get information about a specific Callable
LLSD getMetadata(const std::string& name) const;
+ /// Retrieve the LLSD key we use for one-arg <tt>operator()</tt> method
+ std::string getDispatchKey() const { return mKey; }
+
private:
template <class CLASS, typename METHOD>
void addMethod(const std::string& name, const std::string& desc,