summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofile.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-13 23:38:02 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-13 23:38:02 +0300
commit4f38a63b076044e9578a91b769a4e1856241f2ba (patch)
tree01e9707670d5aa488c38a0c42009b7119fec759d /indra/newview/llpanelprofile.h
parent1483c05c9f61e7ce44e8883d8e10d976867882fa (diff)
SL-15312 Legacy profiles remake #6
Diffstat (limited to 'indra/newview/llpanelprofile.h')
-rw-r--r--indra/newview/llpanelprofile.h38
1 files changed, 13 insertions, 25 deletions
diff --git a/indra/newview/llpanelprofile.h b/indra/newview/llpanelprofile.h
index 428f4ce78d..1d871415e8 100644
--- a/indra/newview/llpanelprofile.h
+++ b/indra/newview/llpanelprofile.h
@@ -109,27 +109,29 @@ protected:
/**
* Process profile related data received from server.
*/
- virtual void processProfileProperties(const LLAvatarData* avatar_data);
+ void processProfileProperties(const LLAvatarData* avatar_data);
/**
* Processes group related data received from server.
*/
- virtual void processGroupProperties(const LLAvatarGroups* avatar_groups);
+ void processGroupProperties(const LLAvatarGroups* avatar_groups);
/**
* Fills common for Avatar profile and My Profile fields.
*/
- virtual void fillCommonData(const LLAvatarData* avatar_data);
+ void fillCommonData(const LLAvatarData* avatar_data);
/**
* Fills partner data.
*/
- virtual void fillPartnerData(const LLAvatarData* avatar_data);
+ void fillPartnerData(const LLAvatarData* avatar_data);
/**
* Fills account status.
*/
- virtual void fillAccountStatus(const LLAvatarData* avatar_data);
+ void fillAccountStatus(const LLAvatarData* avatar_data);
+
+ void fillRightsData();
void onImageLoaded(BOOL success, LLViewerFetchedTexture *imagep);
static void onImageLoaded(BOOL success,
@@ -168,6 +170,7 @@ private:
void onSetDescriptionDirty();
void onSaveDescriptionChanges();
void onDiscardDescriptionChanges();
+ void onShowAgentPermissionsDialog();
private:
typedef std::map<std::string, LLUUID> group_map_t;
@@ -182,6 +185,11 @@ private:
LLMenuButton* mAgentActionMenuButton;
LLButton* mSaveDescriptionChanges;
LLButton* mDiscardDescriptionChanges;
+ LLButton* mSeeOnlineToggle;
+ LLButton* mSeeOnMapToggle;
+ LLButton* mEditObjectsToggle;
+
+ LLHandle<LLFloater> mFloaterPermissionsHandle;
bool mVoiceStatus;
bool mWaitingForImageUpload;
@@ -285,7 +293,6 @@ protected:
*/
class LLPanelProfileNotes
: public LLPanelProfileTab
- , public LLFriendObserver
{
public:
LLPanelProfileNotes();
@@ -293,11 +300,6 @@ public:
virtual void setAvatarId(const LLUUID& avatar_id);
- /**
- * LLFriendObserver trigger
- */
- virtual void changed(U32 mask);
-
/*virtual*/ void onOpen(const LLSD& key);
/*virtual*/ BOOL postBuild();
@@ -310,26 +312,12 @@ public:
/*virtual*/ void updateData();
protected:
- /**
- * Fills rights data for friends.
- */
- void fillRightsData();
-
- void rightsConfirmationCallback(const LLSD& notification, const LLSD& response);
- void confirmModifyRights(bool grant);
- void onCommitRights();
void onCommitNotes();
- void enableCheckboxes(bool enable);
void setNotesText(const std::string &text);
void onSetNotesDirty();
void onSaveNotesChanges();
void onDiscardNotesChanges();
- void applyRights();
-
- LLCheckBoxCtrl* mOnlineStatus;
- LLCheckBoxCtrl* mMapRights;
- LLCheckBoxCtrl* mEditObjectRights;
LLTextEditor* mNotesEditor;
LLButton* mSaveChanges;
LLButton* mDiscardChanges;