diff options
Diffstat (limited to 'indra/llcommon/llevent.h')
-rw-r--r-- | indra/llcommon/llevent.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/llevent.h b/indra/llcommon/llevent.h index 741b40b787..8ba883a0ee 100644 --- a/indra/llcommon/llevent.h +++ b/indra/llcommon/llevent.h @@ -185,6 +185,13 @@ protected: LLPointer<LLEventDispatcher> mDispatcher; }; +// Utility mixer class which fires & handles events +class LLSimpleListenerObservable : public LLObservable, public LLSimpleListener +{ +public: + virtual bool handleEvent(LLPointer<LLEvent> event, const LLSD& userdata) = 0; +}; + class LLValueChangedEvent : public LLEvent { public: |