summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmarketplaceinboxinventory.h
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-10-04 06:08:09 +0800
committerErik Kundiman <erik@megapahit.org>2023-10-04 06:08:09 +0800
commita332b8faefef8a044a2409957b415b62d6a85181 (patch)
treee76c2d8c9500c700d2d45ea1b4708747854f2f7d /indra/newview/llpanelmarketplaceinboxinventory.h
parentbdfd8198eb8fe7128230d562fe37eafac5c52bec (diff)
parentf352fd1090ce4d50db349cdadfa61d66783a20e8 (diff)
Merge tag '6.6.15-release'
source for viewer 6.6.15.581961
Diffstat (limited to 'indra/newview/llpanelmarketplaceinboxinventory.h')
-rw-r--r--indra/newview/llpanelmarketplaceinboxinventory.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/indra/newview/llpanelmarketplaceinboxinventory.h b/indra/newview/llpanelmarketplaceinboxinventory.h
index 3e508e801b..9eef5f209c 100644
--- a/indra/newview/llpanelmarketplaceinboxinventory.h
+++ b/indra/newview/llpanelmarketplaceinboxinventory.h
@@ -49,6 +49,8 @@ public:
void initFromParams(const LLInventoryPanel::Params&);
LLFolderViewFolder* createFolderViewFolder(LLInvFVBridge * bridge, bool allow_drop);
LLFolderViewItem * createFolderViewItem(LLInvFVBridge * bridge);
+
+ void onRemoveItemFreshness(const LLUUID& item_id);
};
@@ -77,6 +79,7 @@ public:
void deFreshify();
bool isFresh() const { return mFresh; }
+ void setFresh(bool is_fresh) { mFresh = is_fresh; }
protected:
bool mFresh;
@@ -108,6 +111,7 @@ public:
void deFreshify();
bool isFresh() const { return mFresh; }
+ void setFresh(bool is_fresh) { mFresh = is_fresh; }
protected:
bool mFresh;
@@ -125,11 +129,16 @@ public:
void load();
void addFreshItem(const LLUUID& id) { mNewItemsIDs.insert(id); }
- void removeItem(const LLUUID& id) { mNewItemsIDs.erase(id); }
+ void removeItem(const LLUUID& id);
bool isItemFresh(const LLUUID& id) { return (mNewItemsIDs.find(id) != mNewItemsIDs.end()); }
+ void addInboxPanel(LLInboxInventoryPanel* inbox) { mInboxPanels.insert(inbox); }
+ void removeInboxPanel(LLInboxInventoryPanel* inbox) { mInboxPanels.erase(inbox); }
+
private:
std::set<LLUUID> mNewItemsIDs;
+
+ std::set<LLInboxInventoryPanel*> mInboxPanels;
};
#endif //LL_INBOXINVENTORYPANEL_H