PageRenderTime 217ms CodeModel.GetById 80ms app.highlight 3ms RepoModel.GetById 78ms app.codeStats 0ms

/indra/newview/llviewercontrollistener.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 50 lines | 17 code | 6 blank | 27 comment | 0 complexity | 25e02b5d9b17a4c6fa0820eef9b0b053 MD5 | raw file
 1/**
 2 * @file   llviewercontrollistener.h
 3 * @author Brad Kittenbrink
 4 * @date   2009-07-09
 5 * @brief  Event API for subset of LLViewerControl methods
 6 * 
 7 * $LicenseInfo:firstyear=2009&license=viewerlgpl$
 8 * Second Life Viewer Source Code
 9 * Copyright (C) 2010, Linden Research, Inc.
10 * 
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation;
14 * version 2.1 of the License only.
15 * 
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19 * Lesser General Public License for more details.
20 * 
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
24 * 
25 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
26 * $/LicenseInfo$
27 */
28
29#ifndef LL_LLVIEWERCONTROLLISTENER_H
30#define LL_LLVIEWERCONTROLLISTENER_H
31
32#include "lleventapi.h"
33
34class LLControlGroup;
35class LLSD;
36
37class  LLViewerControlListener : public LLEventAPI
38{
39public:
40	LLViewerControlListener();
41
42private:
43	static void set(LLSD const & event_data);
44	static void toggle(LLSD const & event_data);
45	static void get(LLSD const & event_data);
46	static void groups(LLSD const & event_data);
47	static void vars(LLSD const & event_data);
48};
49
50#endif // LL_LLVIEWERCONTROLLISTENER_H