summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmarketplaceoutbox.h
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2011-12-05 13:37:37 -0800
committerLeslie Linden <leslie@lindenlab.com>2011-12-05 13:37:37 -0800
commit591891306366e683416b187207fa2b94bdc263a8 (patch)
tree36c87abd7b102658e6f88503aa3d7669714306cb /indra/newview/llpanelmarketplaceoutbox.h
parent837e4e5165cc3e6595577e90bae240e676be8ffe (diff)
First pass at connecting to the new marketplace API
Diffstat (limited to 'indra/newview/llpanelmarketplaceoutbox.h')
-rw-r--r--indra/newview/llpanelmarketplaceoutbox.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/indra/newview/llpanelmarketplaceoutbox.h b/indra/newview/llpanelmarketplaceoutbox.h
index c6b4a5abe2..a776ee0919 100644
--- a/indra/newview/llpanelmarketplaceoutbox.h
+++ b/indra/newview/llpanelmarketplaceoutbox.h
@@ -59,9 +59,10 @@ public:
U32 getTotalItemCount() const;
bool isOutboxEmpty() const;
- bool isSyncInProgress() const;
+ bool isImportInProgress() const;
- void onSyncComplete(bool goodStatus, const LLSD& content);
+ void onImportPostComplete(U32 status, const LLSD& content);
+ void onImportGetComplete(U32 status, const LLSD& content);
/*virtual*/ BOOL handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop,
EDragAndDropType cargo_type,
@@ -70,8 +71,8 @@ public:
std::string& tooltip_msg);
protected:
- void onSyncButtonClicked();
- void updateSyncButtonStatus();
+ void onImportButtonClicked();
+ void updateImportButtonStatus();
void handleLoginComplete();
void onFocusReceived();
@@ -80,9 +81,13 @@ protected:
private:
LLInventoryPanel * mInventoryPanel;
- LLButton * mSyncButton;
- LLLoadingIndicator * mSyncIndicator;
- bool mSyncInProgress;
+ LLButton * mImportButton;
+ U32 mImportFrameTimer;
+ bool mImportGetPending;
+ LLLoadingIndicator * mImportIndicator;
+ bool mImportInProgress;
+
+ LLButton * mOutboxButton;
};