summaryrefslogtreecommitdiff
path: root/indra/newview/llmarketplacefunctions.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-01-28 10:48:26 -0800
committerMerov Linden <merov@lindenlab.com>2013-01-28 10:48:26 -0800
commitcdf551d9aeee90b3133a74a9e7858a9a5052b5cc (patch)
treeb9ca09ae3350a8543c48fb9cc9f473277380f7e2 /indra/newview/llmarketplacefunctions.h
parent9b52a0d15a265c5bc3a9eaeea1eac00b0e25ad0b (diff)
MAINT-2287 : WIP : Implement a market place state
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rw-r--r--indra/newview/llmarketplacefunctions.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h
index 4b8f7a1ac7..092e730a88 100644
--- a/indra/newview/llmarketplacefunctions.h
+++ b/indra/newview/llmarketplacefunctions.h
@@ -48,12 +48,24 @@ namespace MarketplaceErrorCodes
IMPORT_PROCESSING = 202,
IMPORT_REDIRECT = 302,
IMPORT_AUTHENTICATION_ERROR = 401,
+ IMPORT_FORBIDDEN = 403,
IMPORT_DONE_WITH_ERRORS = 409,
IMPORT_JOB_FAILED = 410,
IMPORT_JOB_TIMEOUT = 499,
};
}
+namespace MarketplaceStatusCodes
+{
+ enum sCode
+ {
+ MARKET_PLACE_NOT_INITIALIZED = 0,
+ MARKET_PLACE_INITIALIZING = 1,
+ MARKET_PLACE_MERCHANT = 2,
+ MARKET_PLACE_NOT_MERCHANT = 3,
+ };
+}
+
class LLMarketplaceInventoryImporter
: public LLSingleton<LLMarketplaceInventoryImporter>
@@ -73,6 +85,7 @@ public:
void initialize();
bool triggerImport();
bool isImportInProgress() const { return mImportInProgress; }
+ U32 getMarketPlaceStatus() const { return mMarketPlaceStatus; }
protected:
void reinitializeAndTriggerImport();
@@ -82,6 +95,7 @@ private:
bool mAutoTriggerImport;
bool mImportInProgress;
bool mInitialized;
+ U32 mMarketPlaceStatus;
status_report_signal_t * mErrorInitSignal;
status_changed_signal_t * mStatusChangedSignal;