summaryrefslogtreecommitdiff
path: root/indra/newview/llvoiceclient.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-08-22 00:23:29 +0100
committerGraham Linden <graham@lindenlab.com>2018-08-22 00:23:29 +0100
commit6d256d679e9cea63753266420ed79efa8b70dee2 (patch)
tree45406673031f343d4550e0bc5e7379192a6e21eb /indra/newview/llvoiceclient.h
parent4789fb3819a54954c9912a6c8442d8a37b594d28 (diff)
parent6f54add8a8852c8f3df86abebe38ef0ce4a6742c (diff)
Merge
Diffstat (limited to 'indra/newview/llvoiceclient.h')
-rw-r--r--indra/newview/llvoiceclient.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/indra/newview/llvoiceclient.h b/indra/newview/llvoiceclient.h
index 32637dcf42..337f01f3e5 100644
--- a/indra/newview/llvoiceclient.h
+++ b/indra/newview/llvoiceclient.h
@@ -40,8 +40,19 @@ class LLVOAvatar;
// devices
-typedef std::vector<std::string> LLVoiceDeviceList;
-
+class LLVoiceDevice
+{
+ public:
+ std::string display_name; // friendly value for the user
+ std::string full_name; // internal value for selection
+
+ LLVoiceDevice(const std::string& display_name, const std::string& full_name)
+ :display_name(display_name)
+ ,full_name(full_name)
+ {
+ };
+};
+typedef std::vector<LLVoiceDevice> LLVoiceDeviceList;
class LLVoiceClientParticipantObserver
{