aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoiceclient.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llvoiceclient.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/llvoiceclient.h')
-rw-r--r--linden/indra/newview/llvoiceclient.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/linden/indra/newview/llvoiceclient.h b/linden/indra/newview/llvoiceclient.h
index 8d2c2ac..9dfcd52 100644
--- a/linden/indra/newview/llvoiceclient.h
+++ b/linden/indra/newview/llvoiceclient.h
@@ -72,7 +72,7 @@ public:
72 virtual ~LLVoiceClientStatusObserver() { } 72 virtual ~LLVoiceClientStatusObserver() { }
73 virtual void onChange(EStatusType status, const std::string &channelURI, bool proximal) = 0; 73 virtual void onChange(EStatusType status, const std::string &channelURI, bool proximal) = 0;
74 74
75 static const char *status2string(EStatusType inStatus); 75 static std::string status2string(EStatusType inStatus);
76}; 76};
77 77
78class LLVoiceClient: public LLSingleton<LLVoiceClient> 78class LLVoiceClient: public LLSingleton<LLVoiceClient>
@@ -188,6 +188,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient>
188 188
189 ///////////////////////////// 189 /////////////////////////////
190 // Sending updates of current state 190 // Sending updates of current state
191static void updatePosition(void);
191 void setCameraPosition(const LLVector3d &position, const LLVector3 &velocity, const LLMatrix3 &rot); 192 void setCameraPosition(const LLVector3d &position, const LLVector3 &velocity, const LLMatrix3 &rot);
192 void setAvatarPosition(const LLVector3d &position, const LLVector3 &velocity, const LLMatrix3 &rot); 193 void setAvatarPosition(const LLVector3d &position, const LLVector3 &velocity, const LLMatrix3 &rot);
193 bool channelFromRegion(LLViewerRegion *region, std::string &name); 194 bool channelFromRegion(LLViewerRegion *region, std::string &name);
@@ -225,7 +226,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient>
225 BOOL getPTTPressed(const LLUUID& id); // This is the inverse of the "locally muted" property. 226 BOOL getPTTPressed(const LLUUID& id); // This is the inverse of the "locally muted" property.
226 BOOL getOnMuteList(const LLUUID& id); 227 BOOL getOnMuteList(const LLUUID& id);
227 F32 getUserVolume(const LLUUID& id); 228 F32 getUserVolume(const LLUUID& id);
228 LLString getDisplayName(const LLUUID& id); 229 std::string getDisplayName(const LLUUID& id);
229 230
230 // MBW -- XXX -- Not sure how to get this data out of the TVC 231 // MBW -- XXX -- Not sure how to get this data out of the TVC
231 BOOL getUsingPTT(const LLUUID& id); 232 BOOL getUsingPTT(const LLUUID& id);
@@ -272,7 +273,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient>
272 void addStatusObserver(LLVoiceClientStatusObserver* observer); 273 void addStatusObserver(LLVoiceClientStatusObserver* observer);
273 void removeStatusObserver(LLVoiceClientStatusObserver* observer); 274 void removeStatusObserver(LLVoiceClientStatusObserver* observer);
274 275
275 static void onAvatarNameLookup(const LLUUID& id, const char* first, const char* last, BOOL is_group, void* user_data); 276// static void onAvatarNameLookup(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group, void* user_data);
276 typedef std::vector<std::string> deviceList; 277 typedef std::vector<std::string> deviceList;
277 278
278 deviceList *getCaptureDevices(); 279 deviceList *getCaptureDevices();
@@ -355,7 +356,7 @@ class LLVoiceClient: public LLSingleton<LLVoiceClient>
355 356
356 void setState(state inState); 357 void setState(state inState);
357 state getState(void) { return mState; }; 358 state getState(void) { return mState; };
358 static const char *state2string(state inState); 359 static std::string state2string(state inState);
359 360
360 void stateMachine(); 361 void stateMachine();
361 static void idle(void *user_data); 362 static void idle(void *user_data);