diff options
author | Graham Linden <graham@lindenlab.com> | 2013-10-25 11:48:43 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-10-25 11:48:43 -0700 |
commit | 970ee73e9a9cd1c94c295c9decb4d632886c19e6 (patch) | |
tree | 18cc7f08bbc043252bea9a6f687807116585d286 /indra/newview/llblocklist.h | |
parent | d4e622daf2775147c75a75389ffb9b55f8cef799 (diff) |
Fix release merge issues (included upstream changes not yet in release from bear)
Diffstat (limited to 'indra/newview/llblocklist.h')
-rwxr-xr-x | indra/newview/llblocklist.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/indra/newview/llblocklist.h b/indra/newview/llblocklist.h index b1ea7e98e5..1a215710f4 100755 --- a/indra/newview/llblocklist.h +++ b/indra/newview/llblocklist.h @@ -34,8 +34,6 @@ class LLBlockedListItem; class LLMute; -enum BlockListActionType {NONE, ADD, REMOVE}; - /** * List of blocked avatars and objects. * This list represents contents of the LLMuteList. @@ -58,8 +56,7 @@ public: LLToggleableMenu* getContextMenu() const { return mContextMenu.get(); } LLBlockedListItem* getBlockedItem() const; - virtual void onChange() { } - virtual void onChangeDetailed(const LLMute& ); + virtual void onChange() { refresh(); } virtual void draw(); void setNameFilter(const std::string& filter); @@ -70,32 +67,18 @@ public: private: void addNewItem(const LLMute* mute); - void removeListItem(const LLMute* mute); - void hideListItem(LLBlockedListItem* item, bool show); void setDirty(bool dirty = true) { mDirty = dirty; } bool findInsensitive(std::string haystack, const std::string& needle_upper); bool isActionEnabled(const LLSD& userdata); void onCustomAction (const LLSD& userdata); - void createList(); - BlockListActionType getCurrentMuteListActionType(); - + LLHandle<LLToggleableMenu> mContextMenu; LLBlockedListItem* mSelectedItem; std::string mNameFilter; bool mDirty; - bool mShouldAddAll; - BlockListActionType mActionType; - U32 mMuteListSize; - - // This data is used to save information about item that currently changed(added or removed) - LLUUID mCurItemId; - std::string mCurItemName; - LLMute::EType mCurItemType; - U32 mCurItemFlags; - std::string mPrevNameFilter; }; |