Introduce LLEventDispatcher::begin()/end() to iterate over (name, desc) pairs
for all registered operations. (untested) Introduce LLEventDispatcher::getMetadata(name) query so you can discover, for a given named operation, its query string and required parameters. (untested) Introduce LLEventDispatcher::add() convenience methods allowing you to omit description strings. Fix LLLoginInstance (which uses a non-LLEventAPI LLEventDispatcher) back to description-less add() calls. However, filter LLEventDispatcher::add() methods inherited by LLEventAPI so that an LLEventAPI subclass *must* provide a description string.
Showing
- indra/llcommon/lleventapi.h 13 additions, 0 deletionsindra/llcommon/lleventapi.h
- indra/llcommon/lleventdispatcher.cpp 14 additions, 0 deletionsindra/llcommon/lleventdispatcher.cpp
- indra/llcommon/lleventdispatcher.h 53 additions, 12 deletionsindra/llcommon/lleventdispatcher.h
- indra/newview/lllogininstance.cpp 3 additions, 3 deletionsindra/newview/lllogininstance.cpp
Loading
Please register or sign in to comment