summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelvoicedevicesettings.h
diff options
context:
space:
mode:
authorAimee Linden <aimee@lindenlab.com>2010-09-16 17:51:27 +0100
committerAimee Linden <aimee@lindenlab.com>2010-09-16 17:51:27 +0100
commitae81cf5dc466c3e10deef4be847076a1da9e7606 (patch)
tree4a22da73917334c23192c2a00d0a89f1eb43d820 /indra/newview/llpanelvoicedevicesettings.h
parent1dbcc3fff79b55038178e493df0cc0c3a4d66221 (diff)
STORM-122 FIXED Clean up obsolete floaters and related dead code
Removed obsolete XUI files: floater_activeim.xml floater_customize.xml floater_device_settings.xml floater_first_time_tip.xml floater_im.xml floater_my_friends.xml floater_outfit_save_as.xml floater_preview_classified.xml floater_preview_event.xml floater_preview_gesture_info.xml floater_preview_gesture_shortcut.xml floater_preview_gesture_steps.xml floater_statistics.xml floater_wearable_save_as.xml panel_audio_device.xml panel_friends.xml panel_groups.xml panel_nearby_chat.xml panel_online_status.xml panel_region_general_layout.xml Killed obsolete LLFloaterVoiceDeviceSettings class, and moved LLPanelVoiceDeviceSettings into its own appropriately named files.
Diffstat (limited to 'indra/newview/llpanelvoicedevicesettings.h')
-rw-r--r--indra/newview/llpanelvoicedevicesettings.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/indra/newview/llpanelvoicedevicesettings.h b/indra/newview/llpanelvoicedevicesettings.h
new file mode 100644
index 0000000000..dd630be9a3
--- /dev/null
+++ b/indra/newview/llpanelvoicedevicesettings.h
@@ -0,0 +1,61 @@
+/**
+ * @file llpanelvoicedevicesettings.h
+ * @author Richard Nelson
+ * @brief Voice communication set-up wizard
+ *
+ * $LicenseInfo:firstyear=2001&license=viewerlgpl$
+ * Second Life Viewer Source Code
+ * Copyright (C) 2010, Linden Research, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation;
+ * version 2.1 of the License only.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ * Linden Research, Inc., 945 Battery Street, San Francisco, CA 94111 USA
+ * $/LicenseInfo$
+ */
+
+#ifndef LL_LLFLOATERVOICEDEVICESETTINGS_H
+#define LL_LLFLOATERVOICEDEVICESETTINGS_H
+
+#include "llfloater.h"
+
+class LLPanelVoiceDeviceSettings : public LLPanel
+{
+public:
+ LLPanelVoiceDeviceSettings();
+ ~LLPanelVoiceDeviceSettings();
+
+ /*virtual*/ void draw();
+ /*virtual*/ BOOL postBuild();
+ void apply();
+ void cancel();
+ void refresh();
+ 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);
+
+ F32 mMicVolume;
+ std::string mInputDevice;
+ std::string mOutputDevice;
+ class LLComboBox *mCtrlInputDevices;
+ class LLComboBox *mCtrlOutputDevices;
+ BOOL mDevicesUpdated;
+};
+
+#endif // LL_LLFLOATERVOICEDEVICESETTINGS_H