summaryrefslogtreecommitdiff
path: root/indra/newview/llfoldervieweventlistener.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-05 07:35:03 +0000
commit197c78fa4bf372d09b315b1bad3cf6649627eb48 (patch)
treed49217ad4a9b10fa907cfbefeba1453042b66f9a /indra/newview/llfoldervieweventlistener.h
parent05e15ccb82541494bf7145652140de187d838cda (diff)
parent367fda833cb5633564c2518f613a00484eb73ec5 (diff)
merge from viewer2 trunk.
Diffstat (limited to 'indra/newview/llfoldervieweventlistener.h')
-rw-r--r--indra/newview/llfoldervieweventlistener.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfoldervieweventlistener.h b/indra/newview/llfoldervieweventlistener.h
index d6c4459e6f..12e100caf4 100644
--- a/indra/newview/llfoldervieweventlistener.h
+++ b/indra/newview/llfoldervieweventlistener.h
@@ -73,7 +73,8 @@ public:
virtual BOOL isItemRenameable() const = 0;
virtual BOOL renameItem(const std::string& new_name) = 0;
virtual BOOL isItemMovable( void ) const = 0; // Can be moved to another folder
- virtual BOOL isItemRemovable( void ) = 0; // Can be destroyed
+ virtual BOOL isItemRemovable( void ) const = 0; // Can be destroyed
+ virtual BOOL isItemInTrash( void) const { return FALSE; } // TODO: make into pure virtual.
virtual BOOL removeItem() = 0;
virtual void removeBatch(LLDynamicArray<LLFolderViewEventListener*>& batch) = 0;
virtual void move( LLFolderViewEventListener* parent_listener ) = 0;