diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloatervoicedevicesettings.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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 | ||
38 | class LLPrefsVoiceLogic; | 38 | class LLPrefsVoiceLogic; |
39 | class LLPanelDeviceSettings; | ||
40 | 39 | ||
41 | class LLFloaterVoiceWizard | 40 | class LLPanelVoiceDeviceSettings : public LLPanel |
42 | : public LLFloater, public LLFloaterSingleton<LLFloaterVoiceWizard> | ||
43 | { | 41 | { |
44 | public: | 42 | public: |
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 | |||
53 | protected: | ||
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 | |||
61 | protected: | ||
62 | LLPrefsVoiceLogic* mLogic; | ||
63 | LLPanelDeviceSettings* mDevicePanel; | ||
64 | }; | ||
65 | |||
66 | class LLPanelDeviceSettings : public LLPanel | ||
67 | { | ||
68 | public: | ||
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 | ||
92 | class LLFloaterDeviceSettings : public LLFloater, public LLFloaterSingleton<LLFloaterDeviceSettings> | 66 | class LLFloaterVoiceDeviceSettings : public LLFloater, public LLFloaterSingleton<LLFloaterVoiceDeviceSettings> |
93 | { | 67 | { |
94 | public: | 68 | public: |
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 | ||
102 | protected: | 76 | protected: |
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 |