diff options
Diffstat (limited to 'indra/newview/llfloatervoicedevicesettings.h')
-rw-r--r-- | indra/newview/llfloatervoicedevicesettings.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/indra/newview/llfloatervoicedevicesettings.h b/indra/newview/llfloatervoicedevicesettings.h index d30a57f161..d67283d0a2 100644 --- a/indra/newview/llfloatervoicedevicesettings.h +++ b/indra/newview/llfloatervoicedevicesettings.h @@ -36,8 +36,6 @@ #include "llfloater.h" -class LLPrefsVoiceLogic; - class LLPanelVoiceDeviceSettings : public LLPanel { public: @@ -49,9 +47,11 @@ public: void apply(); void cancel(); void refresh(); - void onOpen(); - void onClose(bool app_quitting); + void initialize(); + void cleanup(); + /*virtual*/ void handleVisibilityChange ( BOOL new_visibility ); + protected: static void onCommitInputDevice(LLUICtrl* ctrl, void* user_data); static void onCommitOutputDevice(LLUICtrl* ctrl, void* user_data); @@ -64,19 +64,25 @@ protected: BOOL mDevicesUpdated; }; -class LLFloaterVoiceDeviceSettings : public LLFloater, public LLFloaterSingleton<LLFloaterVoiceDeviceSettings> +class LLFloaterVoiceDeviceSettings : public LLFloater { + friend class LLFloaterReg; + public: - LLFloaterVoiceDeviceSettings(const LLSD& seed); - /*virtual*/ void onOpen(); - /*virtual*/ void onClose(bool app_quitting); + + /*virtual*/ BOOL postBuild(); + /*virtual*/ void onOpen(const LLSD& key); + /*virtual*/ void onClose(bool app_settings); /*virtual*/ void draw(); void apply(); void cancel(); - +private: + LLFloaterVoiceDeviceSettings(const LLSD& seed); + protected: static void* createPanelVoiceDeviceSettings(void* user_data); - + +protected: LLPanelVoiceDeviceSettings* mDevicePanel; }; |