summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelappearancetab.h
diff options
context:
space:
mode:
authorPaul Guslisty <pguslisty@productengine.com>2010-09-10 15:59:35 +0300
committerPaul Guslisty <pguslisty@productengine.com>2010-09-10 15:59:35 +0300
commit36f3535f70f431d9da76aba556adc82c0781d0af (patch)
treec58375842668d07401889c4ba17c3fb7cabc2f9c /indra/newview/llpanelappearancetab.h
parentd0732348325bf09ca72e7bebf6334051ff21c694 (diff)
STORM-93 FIXED Added Take Off function to the gear menu and implemented this functionality using helper methods:
canTakeOffSelected() - checking whether selected item(s) can be taken off hasItemSelected() - checking whether any item selected getSelectedItemsUUIDs() - returns selected items ids
Diffstat (limited to 'indra/newview/llpanelappearancetab.h')
-rw-r--r--indra/newview/llpanelappearancetab.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llpanelappearancetab.h b/indra/newview/llpanelappearancetab.h
index fa929aac0a..81366c5db4 100644
--- a/indra/newview/llpanelappearancetab.h
+++ b/indra/newview/llpanelappearancetab.h
@@ -41,9 +41,17 @@ public:
virtual void showGearMenu(LLView* spawning_view) = 0;
+ virtual void getSelectedItemsUUIDs(uuid_vec_t& selected_uuids) const {}
+
static const std::string& getFilterSubString() { return sFilterSubString; }
protected:
+
+ /**
+ * Returns true if there are any items that can be taken off among currently selected, otherwise false.
+ */
+ bool canTakeOffSelected();
+
static std::string sFilterSubString;
};