diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-03-15 15:50:36 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2022-03-15 16:04:39 +0200 |
commit | cf15fa72f719a50e008d4310c93ee17643db3313 (patch) | |
tree | ada44a52d1968786fd7942d94bcac4231aefe82d /indra/newview/llpanelprofile.h | |
parent | 259c5e3ffe101f75775a9e574e5436b434af58c1 (diff) |
SL-16937 New Profile capability, cap updates #3
Diffstat (limited to 'indra/newview/llpanelprofile.h')
-rw-r--r-- | indra/newview/llpanelprofile.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/indra/newview/llpanelprofile.h b/indra/newview/llpanelprofile.h index 8dfee98bad..beec2f91c8 100644 --- a/indra/newview/llpanelprofile.h +++ b/indra/newview/llpanelprofile.h @@ -384,13 +384,11 @@ protected: void enableCheckboxes(bool enable); void applyRights(); - void updateWarning(); LLCheckBoxCtrl* mOnlineStatus; LLCheckBoxCtrl* mMapRights; LLCheckBoxCtrl* mEditObjectRights; LLTextEditor* mNotesEditor; - LLTextBox* mCharacterLimitWarning; std::string mURLWebProfile; @@ -429,6 +427,10 @@ public: void showClassified(const LLUUID& classified_id = LLUUID::null, bool edit = false); + LLAvatarData getAvatarData() { return mAvatarData; }; + + friend void request_avatar_properties_coro(std::string cap_url, LLUUID agent_id); + private: void onTabChange(); @@ -440,6 +442,13 @@ private: LLPanelProfileFirstLife* mPanelFirstlife; LLPanelProfileNotes* mPanelNotes; LLTabContainer* mTabContainer; + + // Todo: due to server taking minutes to update this needs a more long term storage + // to reuse recently saved values if user opens floater again + // Storage implementation depends onto how a cap will be implemented, if cap will be + // enought to fully update LLAvatarPropertiesProcessor, then this storage can be + // implemented there. + LLAvatarData mAvatarData; }; #endif //LL_LLPANELPROFILE_H |