summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-07 00:54:25 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-04-07 00:55:06 +0300
commita629e845cfff17a9ab7e74dd3930e1fb63ab286b (patch)
tree3095937853b209fc6219c96d8da4213b82311c17 /indra/newview/llmarketplacefunctions.h
parenta7339291c9134440bf66f53cb9dbedde021b7ca4 (diff)
SL-17171 Display Marketplace Error Messages only when trying to use Marketplace
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rw-r--r--indra/newview/llmarketplacefunctions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h
index fee9225f77..088507d850 100644
--- a/indra/newview/llmarketplacefunctions.h
+++ b/indra/newview/llmarketplacefunctions.h
@@ -198,7 +198,9 @@ public:
typedef boost::signals2::signal<void ()> status_updated_signal_t;
void initializeSLM(const status_updated_signal_t::slot_type& cb);
U32 getSLMStatus() const { return mMarketPlaceStatus; }
+ std::string getSLMConnectionfailureReason() { return mMarketPlaceFailureReason; }
void setSLMStatus(U32 status);
+ void setSLMConnectionFailure(const std::string& reason);
void getSLMListings();
bool isEmpty() { return (mMarketplaceItems.size() == 0); }
void setDataFetchedSignal(const status_updated_signal_t::slot_type& cb);
@@ -272,6 +274,7 @@ private:
// Handling Marketplace connection and inventory connection
U32 mMarketPlaceStatus;
+ std::string mMarketPlaceFailureReason;
status_updated_signal_t* mStatusUpdatedSignal;
LLInventoryObserver* mInventoryObserver;
bool mDirtyCount; // If true, stock count value need to be updated at the next check