diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-20 11:44:49 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-20 11:44:49 +0100 |
commit | ae0dbecb1c93347f7d83760117496048af3148da (patch) | |
tree | 82f1a09547b4c92bfa405b51e4683595c0cc26bb /indra/newview/llinventoryitemslist.h | |
parent | 13d2501c847929ce9ee155dbb4dcfcf166710d3e (diff) | |
parent | 56e88c6b2e656a28b25154e27c05e7ced65d90a8 (diff) |
merge from PE's viewer-trunk
Diffstat (limited to 'indra/newview/llinventoryitemslist.h')
-rw-r--r-- | indra/newview/llinventoryitemslist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llinventoryitemslist.h b/indra/newview/llinventoryitemslist.h index a3863b511c..807952948b 100644 --- a/indra/newview/llinventoryitemslist.h +++ b/indra/newview/llinventoryitemslist.h @@ -124,6 +124,15 @@ public: /** Get the name of a corresponding inventory item */ const std::string& getItemName() const { return mItem->getName(); } + /** Get the asset type of a corresponding inventory item */ + LLAssetType::EType getType() const { return mItem->getType(); } + + /** Get the wearable type of a corresponding inventory item */ + LLWearableType::EType getWearableType() const { return mItem->getWearableType(); } + + /** Get the description of a corresponding inventory item */ + const std::string& getDescription() const { return mItem->getDescription(); } + virtual ~LLPanelInventoryListItemBase(){} protected: |