summaryrefslogtreecommitdiff
path: root/indra/newview/llblocklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llblocklist.h')
-rw-r--r--indra/newview/llblocklist.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llblocklist.h b/indra/newview/llblocklist.h
index 64e8246f43..9266584256 100644
--- a/indra/newview/llblocklist.h
+++ b/indra/newview/llblocklist.h
@@ -58,7 +58,7 @@ public:
LLToggleableMenu* getContextMenu() const { return mContextMenu.get(); }
LLBlockedListItem* getBlockedItem() const;
- virtual void onChange() { }
+ virtual void onChange();
virtual void onChangeDetailed(const LLMute& );
virtual void draw();
@@ -68,6 +68,8 @@ public:
void refresh();
U32 getMuteListSize() { return mMuteListSize; }
+ void setLoadingItemsMsg(const std::string& msg) { mLoadingItemsMsg = msg; updateNoItemsCommentText(); }
+ void setFailedItemsMsg(const std::string& msg) { mFailedItemsMsg = msg; updateNoItemsCommentText(); }
private:
@@ -83,6 +85,7 @@ private:
bool isMenuItemVisible(const LLSD& userdata);
void toggleMute(U32 flags);
void createList();
+ void updateNoItemsCommentText();
BlockListActionType getCurrentMuteListActionType();
@@ -100,6 +103,8 @@ private:
LLMute::EType mCurItemType;
U32 mCurItemFlags;
std::string mPrevNameFilter;
+ std::string mLoadingItemsMsg;
+ std::string mFailedItemsMsg;
};