aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelavatar.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelavatar.h')
-rw-r--r--linden/indra/newview/llpanelavatar.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/linden/indra/newview/llpanelavatar.h b/linden/indra/newview/llpanelavatar.h
index 3e8bffd..8df5df1 100644
--- a/linden/indra/newview/llpanelavatar.h
+++ b/linden/indra/newview/llpanelavatar.h
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2004-2007, Linden Research, Inc. 5 * Copyright (c) 2004-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
@@ -79,8 +80,9 @@ public:
79 // If the data for this tab has not yet been requested, 80 // If the data for this tab has not yet been requested,
80 // send the request. Used by tabs that are filled in only 81 // send the request. Used by tabs that are filled in only
81 // when they are first displayed. 82 // when they are first displayed.
82 // type is one of "notes", "classifieds", "picks" 83 // type is one of "avatarnotesrequest", "avatarpicksrequest",
83 void sendAvatarProfileRequestIfNeeded(const char* type); 84 // or "avatarclassifiedsrequest"
85 void sendAvatarProfileRequestIfNeeded(const char* method);
84 86
85private: 87private:
86 LLPanelAvatar* mPanelAvatar; 88 LLPanelAvatar* mPanelAvatar;
@@ -275,8 +277,6 @@ public:
275 void setOnlineStatus(EOnlineStatus online_status); 277 void setOnlineStatus(EOnlineStatus online_status);
276 278
277 const LLUUID& getAvatarID() const { return mAvatarID; } 279 const LLUUID& getAvatarID() const { return mAvatarID; }
278
279 void disableRate();
280 280
281 void resetGroupList(); 281 void resetGroupList();
282 282
@@ -298,7 +298,6 @@ public:
298 static void processAvatarPropertiesReply(LLMessageSystem *msg, void **); 298 static void processAvatarPropertiesReply(LLMessageSystem *msg, void **);
299 static void processAvatarInterestsReply(LLMessageSystem *msg, void **); 299 static void processAvatarInterestsReply(LLMessageSystem *msg, void **);
300 static void processAvatarGroupsReply(LLMessageSystem* msg, void**); 300 static void processAvatarGroupsReply(LLMessageSystem* msg, void**);
301 static void processAvatarStatisticsReply(LLMessageSystem *msg, void **);
302 static void processAvatarNotesReply(LLMessageSystem *msg, void **); 301 static void processAvatarNotesReply(LLMessageSystem *msg, void **);
303 static void processAvatarPicksReply(LLMessageSystem *msg, void **); 302 static void processAvatarPicksReply(LLMessageSystem *msg, void **);
304 static void processAvatarClassifiedReply(LLMessageSystem *msg, void **); 303 static void processAvatarClassifiedReply(LLMessageSystem *msg, void **);
@@ -307,7 +306,7 @@ public:
307 static void onClickIM( void *userdata); 306 static void onClickIM( void *userdata);
308 static void onClickOfferTeleport( void *userdata); 307 static void onClickOfferTeleport( void *userdata);
309 static void onClickPay( void *userdata); 308 static void onClickPay( void *userdata);
310 static void onClickRate( void *userdata); 309 static void onClickAddFriend(void* userdata);
311 static void onClickOK( void *userdata); 310 static void onClickOK( void *userdata);
312 static void onClickCancel( void *userdata); 311 static void onClickCancel( void *userdata);
313 static void onClickKick( void *userdata); 312 static void onClickKick( void *userdata);
@@ -315,7 +314,6 @@ public:
315 static void onClickUnfreeze(void *userdata); 314 static void onClickUnfreeze(void *userdata);
316 static void onClickCSR( void *userdata); 315 static void onClickCSR( void *userdata);
317 static void onClickMute( void *userdata); 316 static void onClickMute( void *userdata);
318 static void onClickAddFriend(void* data);
319 317
320 static void finishKick(S32 option, const LLString& text, void* userdata); 318 static void finishKick(S32 option, const LLString& text, void* userdata);
321 static void finishFreeze(S32 option, const LLString& text, void* userdata); 319 static void finishFreeze(S32 option, const LLString& text, void* userdata);
@@ -356,9 +354,9 @@ protected:
356 BOOL mHaveStatistics; 354 BOOL mHaveStatistics;
357 LLTabContainerCommon* mTab; 355 LLTabContainerCommon* mTab;
358 BOOL mAllowEdit; 356 BOOL mAllowEdit;
359 BOOL mDisableRate;
360 357
361 static LLLinkedList<LLPanelAvatar> sAllPanels; 358 typedef std::list<LLPanelAvatar*> panel_list_t;
359 static panel_list_t sAllPanels;
362}; 360};
363 361
364// helper funcs 362// helper funcs