diff options
author | Steve Bennetts <steve@lindenlab.com> | 2009-10-19 10:49:48 -0700 |
---|---|---|
committer | Steve Bennetts <steve@lindenlab.com> | 2009-10-19 10:49:48 -0700 |
commit | 65bf35cfed4b67d5f27628144f7519c81bd97dac (patch) | |
tree | 8ca423d53d3105133e40e7bd7d3aaea3f0528023 /indra/newview/llviewercontrollistener.h | |
parent | 6c1706da69193de3ddbaf69a40e5ba0cad13283e (diff) | |
parent | fce70328535ec04aba64972f47cface0b2fd3046 (diff) |
merge
Diffstat (limited to 'indra/newview/llviewercontrollistener.h')
-rw-r--r-- | indra/newview/llviewercontrollistener.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/indra/newview/llviewercontrollistener.h b/indra/newview/llviewercontrollistener.h new file mode 100644 index 0000000000..cacf97e908 --- /dev/null +++ b/indra/newview/llviewercontrollistener.h @@ -0,0 +1,33 @@ +/** + * @file llviewercontrollistener.h + * @author Brad Kittenbrink + * @date 2009-07-09 + * @brief Event API for subset of LLViewerControl methods + * + * $LicenseInfo:firstyear=2009&license=viewergpl$ + * Copyright (c) 2009, Linden Research, Inc. + * $/LicenseInfo$ + */ + +#ifndef LL_LLVIEWERCONTROLLISTENER_H +#define LL_LLVIEWERCONTROLLISTENER_H + +#include "lleventdispatcher.h" + +class LLControlGroup; +class LLSD; + +class LLViewerControlListener : public LLDispatchListener +{ +public: + LLViewerControlListener(); + +private: + static void set(LLControlGroup *controls, LLSD const & event_data); + static void toggleControl(LLControlGroup *controls, LLSD const & event_data); + static void setDefault(LLControlGroup *controls, LLSD const & event_data); +}; + +extern LLViewerControlListener gSavedSettingsListener; + +#endif // LL_LLVIEWERCONTROLLISTENER_H |