aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llprefsvoice.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:07 -0500
committerJacek Antonelli2008-08-15 23:45:07 -0500
commit8465910c79b8e746e04fd581cca2d60399e569b9 (patch)
treef43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/newview/llprefsvoice.h
parentSecond Life viewer sources 1.18.2.1 (diff)
downloadmeta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2
meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llprefsvoice.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/linden/indra/newview/llprefsvoice.h b/linden/indra/newview/llprefsvoice.h
index e6b861d..4e48fd7 100644
--- a/linden/indra/newview/llprefsvoice.h
+++ b/linden/indra/newview/llprefsvoice.h
@@ -1,8 +1,8 @@
1/** 1/**
2 * @file llprefsvoice.h 2 * @file llprefsvoice.h
3 * @brief Voice chat preferences panel 3 * @brief Voice chat preferences panel
4 * 4 *
5 * Copyright (c) 2003-2007, Linden Research, Inc. 5 * Copyright (c) 2003-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code 7 * Second Life Viewer Source Code
8 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -23,18 +23,18 @@
23 * 23 *
24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO 24 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, 25 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
26 * COMPLETENESS OR PERFORMANCE. 26 * COMPLETENESS OR PERFORMANCE.
27 */ 27 */
28 28
29#ifndef LLPREFSVOICE_H 29#ifndef LLPREFSVOICE_H
30#define LLPREFSVOICE_H 30#define LLPREFSVOICE_H
31 31
32#include "llpanel.h" 32#include "llpanel.h"
33 33
34class LLFloaterDeviceSettings; 34class LLFloaterDeviceSettings;
35 35
36class LLPrefsVoiceLogic 36class LLPrefsVoiceLogic
37{ 37{
38public: 38public:
39 LLPrefsVoiceLogic(LLPanel* panelp); 39 LLPrefsVoiceLogic(LLPanel* panelp);
40 virtual ~LLPrefsVoiceLogic(){}; 40 virtual ~LLPrefsVoiceLogic(){};
@@ -51,8 +51,8 @@ protected:
51 51
52 static void onClickSetKey(void* user_data); 52 static void onClickSetKey(void* user_data);
53 static void onClickSetMiddleMouse(void* user_data); 53 static void onClickSetMiddleMouse(void* user_data);
54 static void onEarLocationCommit(LLUICtrl* ctrl, void* user_data); 54 static void onEarLocationCommit(LLUICtrl* ctrl, void* user_data);
55 static void onClickLaunchWizard(void* user_data); 55 static void onClickLaunchWizard(void* user_data);
56 56
57 BOOL mEnableVoice; 57 BOOL mEnableVoice;
58 BOOL mVoiceCallsFriendsOnly; 58 BOOL mVoiceCallsFriendsOnly;
@@ -60,28 +60,28 @@ protected:
60 std::string mModifier; 60 std::string mModifier;
61 BOOL mPushToTalkToggle; 61 BOOL mPushToTalkToggle;
62 S32 mEarLocation; 62 S32 mEarLocation;
63 LLCtrlSelectionInterface *mCtrlEarLocation; 63 LLCtrlSelectionInterface *mCtrlEarLocation;
64 64
65 BOOL mEatNextSetKeyClick; 65 BOOL mEatNextSetKeyClick;
66 66
67 LLPanel* mPanel; 67 LLPanel* mPanel;
68}; 68};
69 69
70class LLPrefsVoice : public LLPanel 70class LLPrefsVoice : public LLPanel
71{ 71{
72public: 72public:
73 LLPrefsVoice(); 73 LLPrefsVoice();
74 ~LLPrefsVoice(); 74 ~LLPrefsVoice();
75 75
76 /*virtual*/ void draw(); 76 /*virtual*/ void draw();
77 void apply(); 77 void apply();
78 void cancel(); 78 void cancel();
79 79
80protected: 80protected:
81 static void onClickDeviceSettingsBtn(void* user_data); 81 static void onClickDeviceSettingsBtn(void* user_data);
82 82
83 LLPrefsVoiceLogic* mLogic; 83 LLPrefsVoiceLogic* mLogic;
84 LLFloaterDeviceSettings* mDeviceSettings; 84 LLFloaterDeviceSettings* mDeviceSettings;
85}; 85};
86 86
87#endif // LLPREFSVOICE_H 87#endif // LLPREFSVOICE_H