aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloatervoicedevicesettings.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloatervoicedevicesettings.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloatervoicedevicesettings.h (renamed from linden/indra/newview/llfloatervoicewizard.h)48
1 files changed, 11 insertions, 37 deletions
diff --git a/linden/indra/newview/llfloatervoicewizard.h b/linden/indra/newview/llfloatervoicedevicesettings.h
index a70677d..eba5c3c 100644
--- a/linden/indra/newview/llfloatervoicewizard.h
+++ b/linden/indra/newview/llfloatervoicedevicesettings.h
@@ -1,5 +1,5 @@
1/** 1/**
2 * @file llfloatervoicewizard.h 2 * @file llpanelvoicedevicesettings.h
3 * @author Richard Nelson 3 * @author Richard Nelson
4 * @brief Voice communication set-up wizard 4 * @brief Voice communication set-up wizard
5 * 5 *
@@ -30,44 +30,18 @@
30 * $/LicenseInfo$ 30 * $/LicenseInfo$
31 */ 31 */
32 32
33#ifndef LL_LLFLOATERVOICEWIZARD_H 33#ifndef LL_LLFLOATERVOICEDEVICESETTINGS_H
34#define LL_LLFLOATERVOICEWIZARD_H 34#define LL_LLFLOATERVOICEDEVICESETTINGS_H
35 35
36#include "llfloater.h" 36#include "llfloater.h"
37 37
38class LLPrefsVoiceLogic; 38class LLPrefsVoiceLogic;
39class LLPanelDeviceSettings;
40 39
41class LLFloaterVoiceWizard 40class LLPanelVoiceDeviceSettings : public LLPanel
42 : public LLFloater, public LLFloaterSingleton<LLFloaterVoiceWizard>
43{ 41{
44public: 42public:
45 LLFloaterVoiceWizard(const LLSD& seed); 43 LLPanelVoiceDeviceSettings();
46 virtual ~LLFloaterVoiceWizard(); 44 ~LLPanelVoiceDeviceSettings();
47
48 /*virtual*/ BOOL postBuild();
49 /*virtual*/ void draw();
50 /*virtual*/ void onOpen();
51 /*virtual*/ void onClose(bool app_quitting);
52
53protected:
54 static void onClickNext(void *user_data);
55 static void onClickBack(void *user_data);
56 static void onClickOK(void *user_data);
57 static void onClickCancel(void *user_data);
58 static void onCommitVoiceEnable(LLUICtrl* ctrl, void* user_data);
59 static void* createPanelDeviceSettings(void* user_data);
60
61protected:
62 LLPrefsVoiceLogic* mLogic;
63 LLPanelDeviceSettings* mDevicePanel;
64};
65
66class LLPanelDeviceSettings : public LLPanel
67{
68public:
69 LLPanelDeviceSettings();
70 ~LLPanelDeviceSettings();
71 45
72 /*virtual*/ void draw(); 46 /*virtual*/ void draw();
73 /*virtual*/ BOOL postBuild(); 47 /*virtual*/ BOOL postBuild();
@@ -89,10 +63,10 @@ protected:
89 BOOL mDevicesUpdated; 63 BOOL mDevicesUpdated;
90}; 64};
91 65
92class LLFloaterDeviceSettings : public LLFloater, public LLFloaterSingleton<LLFloaterDeviceSettings> 66class LLFloaterVoiceDeviceSettings : public LLFloater, public LLFloaterSingleton<LLFloaterVoiceDeviceSettings>
93{ 67{
94public: 68public:
95 LLFloaterDeviceSettings(const LLSD& seed); 69 LLFloaterVoiceDeviceSettings(const LLSD& seed);
96 /*virtual*/ void onOpen(); 70 /*virtual*/ void onOpen();
97 /*virtual*/ void onClose(bool app_quitting); 71 /*virtual*/ void onClose(bool app_quitting);
98 /*virtual*/ void draw(); 72 /*virtual*/ void draw();
@@ -100,9 +74,9 @@ public:
100 void cancel(); 74 void cancel();
101 75
102protected: 76protected:
103 static void* createPanelDeviceSettings(void* user_data); 77 static void* createPanelVoiceDeviceSettings(void* user_data);
104 78
105 LLPanelDeviceSettings* mDevicePanel; 79 LLPanelVoiceDeviceSettings* mDevicePanel;
106}; 80};
107 81
108#endif // LL_LLFLOATERVOICEWIZARD_H 82#endif // LL_LLFLOATERVOICEDEVICESETTINGS_H