diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-12-22 19:17:14 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-12-22 19:17:14 -0500 |
commit | 5a1e07002a8851e9227cf85171c1af497c94f0cf (patch) | |
tree | de0bd5c68e6b7ee5865c528e2217844ced377a49 /indra/llcommon/lleventdispatcher.h | |
parent | 8077f1990de23b10d73034c919027d0f220abe48 (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.h | 3 |
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, |