PageRenderTime 53ms CodeModel.GetById 36ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1
  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. #ifndef LLPANELLANDAUDIO_H
  28. #define LLPANELLANDAUDIO_H
  29. #include "lllineeditor.h"
  30. #include "llpanel.h"
  31. #include "llparcelselection.h"
  32. #include "lluifwd.h" // widget pointer types
  33. class LLPanelLandAudio
  34. : public LLPanel
  35. {
  36. public:
  37. LLPanelLandAudio(LLSafeHandle<LLParcelSelection>& parcelp);
  38. /*virtual*/ ~LLPanelLandAudio();
  39. /*virtual*/ BOOL postBuild();
  40. void refresh();
  41. private:
  42. static void onCommitAny(LLUICtrl* ctrl, void *userdata);
  43. private:
  44. LLCheckBoxCtrl* mCheckSoundLocal;
  45. LLCheckBoxCtrl* mCheckParcelEnableVoice;
  46. LLCheckBoxCtrl* mCheckEstateDisabledVoice;
  47. LLCheckBoxCtrl* mCheckParcelVoiceLocal;
  48. LLLineEditor* mMusicURLEdit;
  49. LLCheckBoxCtrl* mMusicUrlCheck;
  50. LLCheckBoxCtrl* mCheckAVSoundAny;
  51. LLCheckBoxCtrl* mCheckAVSoundGroup;
  52. LLSafeHandle<LLParcelSelection>& mParcel;
  53. };
  54. #endif