aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterfriends.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/llfloaterfriends.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/llfloaterfriends.h')
-rw-r--r--linden/indra/newview/llfloaterfriends.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/linden/indra/newview/llfloaterfriends.h b/linden/indra/newview/llfloaterfriends.h
index 6ce57f6..7444d93 100644
--- a/linden/indra/newview/llfloaterfriends.h
+++ b/linden/indra/newview/llfloaterfriends.h
@@ -38,6 +38,7 @@
38#include "llstring.h" 38#include "llstring.h"
39#include "lluuid.h" 39#include "lluuid.h"
40#include "lltimer.h" 40#include "lltimer.h"
41#include "llcallingcard.h"
41 42
42class LLFriendObserver; 43class LLFriendObserver;
43class LLRelationship; 44class LLRelationship;
@@ -79,7 +80,7 @@ public:
79 80
80 // Just request friendship, no dialog. 81 // Just request friendship, no dialog.
81 static void requestFriendship(const LLUUID& target_id, 82 static void requestFriendship(const LLUUID& target_id,
82 const LLString& target_name); 83 const std::string& target_name, const std::string& message);
83 84
84private: 85private:
85 86
@@ -96,8 +97,9 @@ private:
96 97
97 // protected members 98 // protected members
98 typedef std::map<LLUUID, S32> rights_map_t; 99 typedef std::map<LLUUID, S32> rights_map_t;
99 void reloadNames(); 100 void refreshNames(U32 changed_mask);
100 void refreshNames(); 101 BOOL refreshNamesSync(const LLAvatarTracker::buddy_map_t & all_buddies);
102 BOOL refreshNamesPresence(const LLAvatarTracker::buddy_map_t & all_buddies);
101 void refreshUI(); 103 void refreshUI();
102 void refreshRightsChangeList(); 104 void refreshRightsChangeList();
103 void applyRightsToFriends(); 105 void applyRightsToFriends();
@@ -117,7 +119,7 @@ private:
117 119
118 // callback methods 120 // callback methods
119 static void onSelectName(LLUICtrl* ctrl, void* user_data); 121 static void onSelectName(LLUICtrl* ctrl, void* user_data);
120 static void callbackAddFriend(S32 option, void* user_data); 122 static void callbackAddFriend(S32 option, const std::string& text, void* user_data);
121 static void onPickAvatar(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* user_data); 123 static void onPickAvatar(const std::vector<std::string>& names, const std::vector<LLUUID>& ids, void* user_data);
122 static void onMaximumSelect(void* user_data); 124 static void onMaximumSelect(void* user_data);
123 125
@@ -138,7 +140,7 @@ private:
138 // member data 140 // member data
139 LLFriendObserver* mObserver; 141 LLFriendObserver* mObserver;
140 LLUUID mAddFriendID; 142 LLUUID mAddFriendID;
141 LLString mAddFriendName; 143 std::string mAddFriendName;
142 LLScrollListCtrl* mFriendsList; 144 LLScrollListCtrl* mFriendsList;
143 BOOL mShowMaxSelectWarning; 145 BOOL mShowMaxSelectWarning;
144 BOOL mAllowRightsChange; 146 BOOL mAllowRightsChange;