summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryitemslist.h
diff options
context:
space:
mode:
authorIgor Borovkov <iborovkov@productengine.com>2010-05-13 17:20:29 +0300
committerIgor Borovkov <iborovkov@productengine.com>2010-05-13 17:20:29 +0300
commit2b4c9469f180093bd53b1c11be74e2716f57ad58 (patch)
treedc4f4ae7dd166c5dbef83dc5d20f75f85e1c6d37 /indra/newview/llinventoryitemslist.h
parent5975650a8b9b3d7a5844d6478fb3bbd475592be1 (diff)
EXT-7254 FIXED added a comparator for wearable items (panel outfit edit)
added a flat list view comparator for names of wearable list items Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/384/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llinventoryitemslist.h')
-rw-r--r--indra/newview/llinventoryitemslist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventoryitemslist.h b/indra/newview/llinventoryitemslist.h
index bc04eb6f5b..6e74330df2 100644
--- a/indra/newview/llinventoryitemslist.h
+++ b/indra/newview/llinventoryitemslist.h
@@ -42,6 +42,7 @@
// newview
#include "llflatlistview.h"
+#include "llviewerinventory.h"
class LLIconCtrl;
class LLTextBox;
@@ -120,6 +121,9 @@ public:
/* Removes item highlight */
/*virtual*/ void onMouseLeave(S32 x, S32 y, MASK mask);
+ /** Get the name of a corresponding inventory item */
+ const std::string& getItemName() const { return mItem->getName(); }
+
virtual ~LLPanelInventoryListItemBase(){}
protected: