diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llimpanel.h | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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/llimpanel.h')
-rw-r--r-- | linden/indra/newview/llimpanel.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/linden/indra/newview/llimpanel.h b/linden/indra/newview/llimpanel.h index 2ed866b..974fc4d 100644 --- a/linden/indra/newview/llimpanel.h +++ b/linden/indra/newview/llimpanel.h | |||
@@ -61,7 +61,7 @@ public: | |||
61 | STATE_CONNECTED | 61 | STATE_CONNECTED |
62 | } EState; | 62 | } EState; |
63 | 63 | ||
64 | LLVoiceChannel(const LLUUID& session_id, const LLString& session_name); | 64 | LLVoiceChannel(const LLUUID& session_id, const std::string& session_name); |
65 | virtual ~LLVoiceChannel(); | 65 | virtual ~LLVoiceChannel(); |
66 | 66 | ||
67 | /*virtual*/ void onChange(EStatusType status, const std::string &channelURI, bool proximal); | 67 | /*virtual*/ void onChange(EStatusType status, const std::string &channelURI, bool proximal); |
@@ -71,8 +71,8 @@ public: | |||
71 | virtual void deactivate(); | 71 | virtual void deactivate(); |
72 | virtual void activate(); | 72 | virtual void activate(); |
73 | virtual void setChannelInfo( | 73 | virtual void setChannelInfo( |
74 | const LLString& uri, | 74 | const std::string& uri, |
75 | const LLString& credentials); | 75 | const std::string& credentials); |
76 | virtual void getChannelInfo(); | 76 | virtual void getChannelInfo(); |
77 | virtual BOOL isActive(); | 77 | virtual BOOL isActive(); |
78 | virtual BOOL callStarted(); | 78 | virtual BOOL callStarted(); |
@@ -81,10 +81,10 @@ public: | |||
81 | EState getState() { return mState; } | 81 | EState getState() { return mState; } |
82 | 82 | ||
83 | void updateSessionID(const LLUUID& new_session_id); | 83 | void updateSessionID(const LLUUID& new_session_id); |
84 | const LLString::format_map_t& getNotifyArgs() { return mNotifyArgs; } | 84 | const LLStringUtil::format_map_t& getNotifyArgs() { return mNotifyArgs; } |
85 | 85 | ||
86 | static LLVoiceChannel* getChannelByID(const LLUUID& session_id); | 86 | static LLVoiceChannel* getChannelByID(const LLUUID& session_id); |
87 | static LLVoiceChannel* getChannelByURI(LLString uri); | 87 | static LLVoiceChannel* getChannelByURI(std::string uri); |
88 | static LLVoiceChannel* getCurrentVoiceChannel() { return sCurrentVoiceChannel; } | 88 | static LLVoiceChannel* getCurrentVoiceChannel() { return sCurrentVoiceChannel; } |
89 | static void initClass(); | 89 | static void initClass(); |
90 | 90 | ||
@@ -93,21 +93,21 @@ public: | |||
93 | 93 | ||
94 | protected: | 94 | protected: |
95 | virtual void setState(EState state); | 95 | virtual void setState(EState state); |
96 | void setURI(LLString uri); | 96 | void setURI(std::string uri); |
97 | 97 | ||
98 | LLString mURI; | 98 | std::string mURI; |
99 | LLString mCredentials; | 99 | std::string mCredentials; |
100 | LLUUID mSessionID; | 100 | LLUUID mSessionID; |
101 | EState mState; | 101 | EState mState; |
102 | LLString mSessionName; | 102 | std::string mSessionName; |
103 | LLString::format_map_t mNotifyArgs; | 103 | LLStringUtil::format_map_t mNotifyArgs; |
104 | BOOL mIgnoreNextSessionLeave; | 104 | BOOL mIgnoreNextSessionLeave; |
105 | LLHandle<LLPanel> mLoginNotificationHandle; | 105 | LLHandle<LLPanel> mLoginNotificationHandle; |
106 | 106 | ||
107 | typedef std::map<LLUUID, LLVoiceChannel*> voice_channel_map_t; | 107 | typedef std::map<LLUUID, LLVoiceChannel*> voice_channel_map_t; |
108 | static voice_channel_map_t sVoiceChannelMap; | 108 | static voice_channel_map_t sVoiceChannelMap; |
109 | 109 | ||
110 | typedef std::map<LLString, LLVoiceChannel*> voice_channel_map_uri_t; | 110 | typedef std::map<std::string, LLVoiceChannel*> voice_channel_map_uri_t; |
111 | static voice_channel_map_uri_t sVoiceChannelURIMap; | 111 | static voice_channel_map_uri_t sVoiceChannelURIMap; |
112 | 112 | ||
113 | static LLVoiceChannel* sCurrentVoiceChannel; | 113 | static LLVoiceChannel* sCurrentVoiceChannel; |
@@ -118,15 +118,15 @@ protected: | |||
118 | class LLVoiceChannelGroup : public LLVoiceChannel | 118 | class LLVoiceChannelGroup : public LLVoiceChannel |
119 | { | 119 | { |
120 | public: | 120 | public: |
121 | LLVoiceChannelGroup(const LLUUID& session_id, const LLString& session_name); | 121 | LLVoiceChannelGroup(const LLUUID& session_id, const std::string& session_name); |
122 | 122 | ||
123 | /*virtual*/ void handleStatusChange(EStatusType status); | 123 | /*virtual*/ void handleStatusChange(EStatusType status); |
124 | /*virtual*/ void handleError(EStatusType status); | 124 | /*virtual*/ void handleError(EStatusType status); |
125 | /*virtual*/ void activate(); | 125 | /*virtual*/ void activate(); |
126 | /*virtual*/ void deactivate(); | 126 | /*virtual*/ void deactivate(); |
127 | /*vritual*/ void setChannelInfo( | 127 | /*vritual*/ void setChannelInfo( |
128 | const LLString& uri, | 128 | const std::string& uri, |
129 | const LLString& credentials); | 129 | const std::string& credentials); |
130 | /*virtual*/ void getChannelInfo(); | 130 | /*virtual*/ void getChannelInfo(); |
131 | 131 | ||
132 | protected: | 132 | protected: |
@@ -154,20 +154,20 @@ public: | |||
154 | class LLVoiceChannelP2P : public LLVoiceChannelGroup | 154 | class LLVoiceChannelP2P : public LLVoiceChannelGroup |
155 | { | 155 | { |
156 | public: | 156 | public: |
157 | LLVoiceChannelP2P(const LLUUID& session_id, const LLString& session_name, const LLUUID& other_user_id); | 157 | LLVoiceChannelP2P(const LLUUID& session_id, const std::string& session_name, const LLUUID& other_user_id); |
158 | 158 | ||
159 | /*virtual*/ void handleStatusChange(EStatusType status); | 159 | /*virtual*/ void handleStatusChange(EStatusType status); |
160 | /*virtual*/ void handleError(EStatusType status); | 160 | /*virtual*/ void handleError(EStatusType status); |
161 | /*virtual*/ void activate(); | 161 | /*virtual*/ void activate(); |
162 | /*virtual*/ void getChannelInfo(); | 162 | /*virtual*/ void getChannelInfo(); |
163 | 163 | ||
164 | void setSessionHandle(const LLString& handle); | 164 | void setSessionHandle(const std::string& handle); |
165 | 165 | ||
166 | protected: | 166 | protected: |
167 | virtual void setState(EState state); | 167 | virtual void setState(EState state); |
168 | 168 | ||
169 | private: | 169 | private: |
170 | LLString mSessionHandle; | 170 | std::string mSessionHandle; |
171 | LLUUID mOtherUserID; | 171 | LLUUID mOtherUserID; |
172 | BOOL mReceivedCall; | 172 | BOOL mReceivedCall; |
173 | }; | 173 | }; |
@@ -207,7 +207,7 @@ public: | |||
207 | const LLColor4& color = LLColor4::white, | 207 | const LLColor4& color = LLColor4::white, |
208 | bool log_to_file = true, | 208 | bool log_to_file = true, |
209 | const LLUUID& source = LLUUID::null, | 209 | const LLUUID& source = LLUUID::null, |
210 | const char *name = NULL); | 210 | const std::string& name = LLStringUtil::null); |
211 | 211 | ||
212 | void setInputFocus( BOOL b ); | 212 | void setInputFocus( BOOL b ); |
213 | 213 | ||
@@ -221,7 +221,7 @@ public: | |||
221 | BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, | 221 | BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, |
222 | BOOL drop, EDragAndDropType cargo_type, | 222 | BOOL drop, EDragAndDropType cargo_type, |
223 | void *cargo_data, EAcceptance *accept, | 223 | void *cargo_data, EAcceptance *accept, |
224 | LLString& tooltip_msg); | 224 | std::string& tooltip_msg); |
225 | 225 | ||
226 | static void onInputEditorFocusReceived( LLFocusableElement* caller, void* userdata ); | 226 | static void onInputEditorFocusReceived( LLFocusableElement* caller, void* userdata ); |
227 | static void onInputEditorFocusLost(LLFocusableElement* caller, void* userdata); | 227 | static void onInputEditorFocusLost(LLFocusableElement* caller, void* userdata); |
@@ -257,7 +257,7 @@ public: | |||
257 | 257 | ||
258 | // Handle other participant in the session typing. | 258 | // Handle other participant in the session typing. |
259 | void processIMTyping(const LLIMInfo* im_info, BOOL typing); | 259 | void processIMTyping(const LLIMInfo* im_info, BOOL typing); |
260 | static void chatFromLogFile(LLLogChat::ELogLineType type, LLString line, void* userdata); | 260 | static void chatFromLogFile(LLLogChat::ELogLineType type, std::string line, void* userdata); |
261 | 261 | ||
262 | //show error statuses to the user | 262 | //show error statuses to the user |
263 | void showSessionStartError(const std::string& error_string); | 263 | void showSessionStartError(const std::string& error_string); |
@@ -270,7 +270,7 @@ public: | |||
270 | 270 | ||
271 | private: | 271 | private: |
272 | // called by constructors | 272 | // called by constructors |
273 | void init(const LLString& session_label); | 273 | void init(const std::string& session_label); |
274 | 274 | ||
275 | // Called by UI methods. | 275 | // Called by UI methods. |
276 | void sendMsg(); | 276 | void sendMsg(); |
@@ -307,7 +307,7 @@ private: | |||
307 | // 911 ==> Gaurdian_Angel_Group_ID ^ gAgent.getID() | 307 | // 911 ==> Gaurdian_Angel_Group_ID ^ gAgent.getID() |
308 | LLUUID mSessionUUID; | 308 | LLUUID mSessionUUID; |
309 | 309 | ||
310 | LLString mSessionLabel; | 310 | std::string mSessionLabel; |
311 | LLVoiceChannel* mVoiceChannel; | 311 | LLVoiceChannel* mVoiceChannel; |
312 | 312 | ||
313 | BOOL mSessionInitialized; | 313 | BOOL mSessionInitialized; |