summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2014-05-01 17:36:17 -0700
committerMerov Linden <merov@lindenlab.com>2014-05-01 17:36:17 -0700
commit87192990592f9abda8314393bdcac3627c15d5ac (patch)
tree066035a26ea60c8ab6b203559377e060c4b1fd9d /indra/newview/llmarketplacefunctions.h
parent7df858622bf379781246f23445f86ead4ad3288a (diff)
DD-81 : Fixed the stock folder count update using an inventory observer. This observe other changes as well of interest to marketplace and should improve consistency in general
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rwxr-xr-xindra/newview/llmarketplacefunctions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h
index 42d76a1ba9..9e2dc871d6 100755
--- a/indra/newview/llmarketplacefunctions.h
+++ b/indra/newview/llmarketplacefunctions.h
@@ -125,6 +125,7 @@ namespace SLMErrorCodes
}
class LLMarketplaceData;
+class LLInventoryObserver;
// A Marketplace item is known by its tuple
class LLMarketplaceTuple
@@ -153,6 +154,7 @@ class LLMarketplaceData
{
public:
LLMarketplaceData();
+ virtual ~LLMarketplaceData();
// SLM Public
typedef boost::signals2::signal<void ()> status_updated_signal_t;
@@ -188,6 +190,9 @@ public:
bool setVersionFolderID(const LLUUID& folder_id, const LLUUID& version_id);
bool setActivation(const LLUUID& folder_id, bool activate);
+ bool checkDirtyCount() { if (mDirtyCount) { mDirtyCount = false; return true; } else { return false; } }
+ void setDirtyCount() { mDirtyCount = true; }
+
// Merov : Test method while waiting for SLM API
S32 getTestMarketplaceID();
@@ -199,6 +204,8 @@ private:
U32 mMarketPlaceStatus;
status_updated_signal_t * mStatusUpdatedSignal;
+ LLInventoryObserver* mInventoryObserver;
+ bool mDirtyCount;
// Merov : This is for test only, waiting for SLM API
S32 mTestCurrentMarketplaceID;