PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/indra/newview/llpanellandaudio.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 61 lines | 28 code | 7 blank | 26 comment | 0 complexity | e9fc94cd275db81df1a28c401934a5b8 MD5 | raw file
 1/**
 2 * @file llpanellandaudio.h
 3 * @brief Allows configuration of "audio" for a land parcel.
 4 *   
 5 *
 6 * $LicenseInfo:firstyear=2007&license=viewerlgpl$
 7 * Second Life Viewer Source Code
 8 * Copyright (C) 2010, Linden Research, Inc.
 9 * 
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation;
13 * version 2.1 of the License only.
14 * 
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * Lesser General Public License for more details.
19 * 
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 * 
24 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
25 * $/LicenseInfo$
26 */
27
28#ifndef LLPANELLANDAUDIO_H
29#define LLPANELLANDAUDIO_H
30
31#include "lllineeditor.h"
32#include "llpanel.h"
33#include "llparcelselection.h"
34#include "lluifwd.h"	// widget pointer types
35
36class LLPanelLandAudio
37	:	public LLPanel
38{
39public:
40	LLPanelLandAudio(LLSafeHandle<LLParcelSelection>& parcelp);
41	/*virtual*/ ~LLPanelLandAudio();
42	/*virtual*/ BOOL postBuild();
43	void refresh();
44
45private:
46	static void onCommitAny(LLUICtrl* ctrl, void *userdata);
47
48private:
49	LLCheckBoxCtrl* mCheckSoundLocal;
50	LLCheckBoxCtrl* mCheckParcelEnableVoice;
51	LLCheckBoxCtrl* mCheckEstateDisabledVoice;
52	LLCheckBoxCtrl* mCheckParcelVoiceLocal;	
53	LLLineEditor*	mMusicURLEdit;
54	LLCheckBoxCtrl* mMusicUrlCheck;
55	LLCheckBoxCtrl* mCheckAVSoundAny;
56	LLCheckBoxCtrl* mCheckAVSoundGroup;
57
58	LLSafeHandle<LLParcelSelection>&	mParcel;
59};
60
61#endif