diff options
author | Leslie Linden <leslie@lindenlab.com> | 2012-01-11 10:05:15 -0800 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2012-01-11 10:05:15 -0800 |
commit | 00b767e5a91d9e3379119c867164f9be40f888cc (patch) | |
tree | 4ed0a7980bfa2cb6ae4755e858b4894b34dc47b5 /indra/newview/llmarketplacefunctions.h | |
parent | b2b421acb6ddea83c9cc25c3593c534f7ff22e57 (diff) |
EXP-1791 - Handle case where initialization with SLM fails in the Merchant Outbox floater in the viewer
* Added code to clear and re-initialize the SLM cookie when authentication errors are encountered.
* Re-organized logic for outbox import a bit to hopefully be more robust when errors are encountered.
Diffstat (limited to 'indra/newview/llmarketplacefunctions.h')
-rw-r--r-- | indra/newview/llmarketplacefunctions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llmarketplacefunctions.h b/indra/newview/llmarketplacefunctions.h index f501f1ee8b..b2f6cb7521 100644 --- a/indra/newview/llmarketplacefunctions.h +++ b/indra/newview/llmarketplacefunctions.h @@ -46,6 +46,7 @@ namespace MarketplaceErrorCodes { IMPORT_DONE = 200, IMPORT_PROCESSING = 202, + IMPORT_AUTHENTICATION_ERROR = 401, IMPORT_DONE_WITH_ERRORS = 409, IMPORT_JOB_FAILED = 410, }; @@ -65,6 +66,7 @@ public: typedef boost::signals2::signal<void (bool)> status_changed_signal_t; typedef boost::signals2::signal<void (U32, const LLSD&)> status_report_signal_t; + boost::signals2::connection setInitializationErrorCallback(const status_report_signal_t::slot_type& cb); boost::signals2::connection setStatusChangedCallback(const status_changed_signal_t::slot_type& cb); boost::signals2::connection setStatusReportCallback(const status_report_signal_t::slot_type& cb); @@ -75,9 +77,11 @@ protected: void updateImport(); private: + bool mAutoTriggerImport; bool mImportInProgress; bool mInitialized; + status_report_signal_t * mErrorInitSignal; status_changed_signal_t * mStatusChangedSignal; status_report_signal_t * mStatusReportSignal; }; |