summaryrefslogtreecommitdiff
path: root/indra/newview/llviewercontrollistener.h
blob: 88afbb871dc025ca6a84bd9b5c9a82a90af7dfdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 "lleventapi.h"

class LLControlGroup;
class LLSD;

class  LLViewerControlListener : public LLEventAPI
{
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