diff options
Diffstat (limited to 'linden/indra/newview/llimview.h')
-rw-r--r-- | linden/indra/newview/llimview.h | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/linden/indra/newview/llimview.h b/linden/indra/newview/llimview.h index 9a0c462..74ea880 100644 --- a/linden/indra/newview/llimview.h +++ b/linden/indra/newview/llimview.h | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -74,11 +75,11 @@ public: | |||
74 | EInstantMessage dialog, | 75 | EInstantMessage dialog, |
75 | const LLUUID& other_participant_id); | 76 | const LLUUID& other_participant_id); |
76 | 77 | ||
77 | // Adds a session using the given session_id. If the session already exists | 78 | // Adds a session using a specific group of starting agents |
78 | // the dialog type is assumed correct. Returns the uuid of the session. | 79 | // the dialog type is assumed correct. Returns the uuid of the session. |
79 | LLUUID addSession(const std::string& name, | 80 | LLUUID addSession(const std::string& name, |
80 | EInstantMessage dialog, | 81 | EInstantMessage dialog, |
81 | const LLUUID& session_id, | 82 | const LLUUID& other_participant_id, |
82 | const LLDynamicArray<LLUUID>& ids); | 83 | const LLDynamicArray<LLUUID>& ids); |
83 | 84 | ||
84 | // This removes the panel referenced by the uuid, and then | 85 | // This removes the panel referenced by the uuid, and then |
@@ -86,6 +87,12 @@ public: | |||
86 | // deleted. | 87 | // deleted. |
87 | void removeSession(const LLUUID& session_id); | 88 | void removeSession(const LLUUID& session_id); |
88 | 89 | ||
90 | //Updates a given session's session IDs. Does not open, | ||
91 | //create or do anything new. If the old session doesn't | ||
92 | //exist, then nothing happens. | ||
93 | void updateFloaterSessionID(const LLUUID& old_session_id, | ||
94 | const LLUUID& new_session_id); | ||
95 | |||
89 | void processIMTypingStart(const LLIMInfo* im_info); | 96 | void processIMTypingStart(const LLIMInfo* im_info); |
90 | void processIMTypingStop(const LLIMInfo* im_info); | 97 | void processIMTypingStop(const LLIMInfo* im_info); |
91 | 98 | ||
@@ -129,8 +136,18 @@ private: | |||
129 | // consistency. Returns the pointer, caller (the class instance | 136 | // consistency. Returns the pointer, caller (the class instance |
130 | // since it is a private method) is not responsible for deleting | 137 | // since it is a private method) is not responsible for deleting |
131 | // the pointer. | 138 | // the pointer. |
132 | LLFloaterIMPanel* createFloater(const LLUUID& session_id, const LLUUID& target_id, | 139 | LLFloaterIMPanel* createFloater(const LLUUID& session_id, |
133 | const std::string& name, EInstantMessage dialog, BOOL user_initiated = FALSE); | 140 | const LLUUID& target_id, |
141 | const std::string& name, | ||
142 | EInstantMessage dialog, | ||
143 | BOOL user_initiated = FALSE); | ||
144 | |||
145 | LLFloaterIMPanel* createFloater(const LLUUID& session_id, | ||
146 | const LLUUID& target_id, | ||
147 | const std::string& name, | ||
148 | const LLDynamicArray<LLUUID>& ids, | ||
149 | EInstantMessage dialog, | ||
150 | BOOL user_initiated = FALSE); | ||
134 | 151 | ||
135 | // This simple method just iterates through all of the ids, and | 152 | // This simple method just iterates through all of the ids, and |
136 | // prints a simple message if they are not online. Used to help | 153 | // prints a simple message if they are not online. Used to help |