aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llimview.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/llimview.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/llimview.h')
-rw-r--r--linden/indra/newview/llimview.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/linden/indra/newview/llimview.h b/linden/indra/newview/llimview.h
index b2621e8..9046a2e 100644
--- a/linden/indra/newview/llimview.h
+++ b/linden/indra/newview/llimview.h
@@ -59,16 +59,16 @@ public:
59 // or agent id. 59 // or agent id.
60 void addMessage(const LLUUID& session_id, 60 void addMessage(const LLUUID& session_id,
61 const LLUUID& target_id, 61 const LLUUID& target_id,
62 const char* from, 62 const std::string& from,
63 const char* msg, 63 const std::string& msg,
64 const char* session_name = NULL, 64 const std::string& session_name = LLStringUtil::null,
65 EInstantMessage dialog = IM_NOTHING_SPECIAL, 65 EInstantMessage dialog = IM_NOTHING_SPECIAL,
66 U32 parent_estate_id = 0, 66 U32 parent_estate_id = 0,
67 const LLUUID& region_id = LLUUID::null, 67 const LLUUID& region_id = LLUUID::null,
68 const LLVector3& position = LLVector3::zero, 68 const LLVector3& position = LLVector3::zero,
69 bool link_name = false); 69 bool link_name = false);
70 70
71 void addSystemMessage(const LLUUID& session_id, const LLString& message_name, const LLString::format_map_t& args); 71 void addSystemMessage(const LLUUID& session_id, const std::string& message_name, const LLStringUtil::format_map_t& args);
72 72
73 // This method returns TRUE if the local viewer has a session 73 // This method returns TRUE if the local viewer has a session
74 // currently open keyed to the uuid. The uuid can be keyed by 74 // currently open keyed to the uuid. The uuid can be keyed by
@@ -97,7 +97,7 @@ public:
97 // Creates a P2P session with the requisite handle for responding to voice calls 97 // Creates a P2P session with the requisite handle for responding to voice calls
98 LLUUID addP2PSession(const std::string& name, 98 LLUUID addP2PSession(const std::string& name,
99 const LLUUID& other_participant_id, 99 const LLUUID& other_participant_id,
100 const LLString& voice_session_handle); 100 const std::string& voice_session_handle);
101 101
102 // This removes the panel referenced by the uuid, and then 102 // This removes the panel referenced by the uuid, and then
103 // restores internal consistency. The internal pointer is not 103 // restores internal consistency. The internal pointer is not
@@ -106,12 +106,12 @@ public:
106 106
107 void inviteToSession( 107 void inviteToSession(
108 const LLUUID& session_id, 108 const LLUUID& session_id,
109 const LLString& session_name, 109 const std::string& session_name,
110 const LLUUID& caller, 110 const LLUUID& caller,
111 const LLString& caller_name, 111 const std::string& caller_name,
112 EInstantMessage type, 112 EInstantMessage type,
113 EInvitationType inv_type, 113 EInvitationType inv_type,
114 const LLString& session_handle = LLString::null); 114 const std::string& session_handle = LLStringUtil::null);
115 115
116 //Updates a given session's session IDs. Does not open, 116 //Updates a given session's session IDs. Does not open,
117 //create or do anything new. If the old session doesn't 117 //create or do anything new. If the old session doesn't
@@ -198,7 +198,7 @@ private:
198 void processIMTypingCore(const LLIMInfo* im_info, BOOL typing); 198 void processIMTypingCore(const LLIMInfo* im_info, BOOL typing);
199 199
200 static void inviteUserResponse(S32 option, void* user_data); 200 static void inviteUserResponse(S32 option, void* user_data);
201 static void onInviteNameLookup(const LLUUID& id, const char* first, const char* last, BOOL is_group, void* userdata); 201 static void onInviteNameLookup(const LLUUID& id, const std::string& first, const std::string& last, BOOL is_group, void* userdata);
202 202
203private: 203private:
204 std::set<LLHandle<LLFloater> > mFloaters; 204 std::set<LLHandle<LLFloater> > mFloaters;
@@ -218,9 +218,9 @@ public:
218 LLFloaterIM(); 218 LLFloaterIM();
219 /*virtual*/ BOOL postBuild(); 219 /*virtual*/ BOOL postBuild();
220 220
221 static std::map<std::string,LLString> sEventStringsMap; 221 static std::map<std::string,std::string> sEventStringsMap;
222 static std::map<std::string,LLString> sErrorStringsMap; 222 static std::map<std::string,std::string> sErrorStringsMap;
223 static std::map<std::string,LLString> sForceCloseSessionMap; 223 static std::map<std::string,std::string> sForceCloseSessionMap;
224}; 224};
225 225
226// Globals 226// Globals