diff options
author | Palmer Truelson <palmer@lindenlab.com> | 2010-06-14 17:44:13 -0700 |
---|---|---|
committer | Palmer Truelson <palmer@lindenlab.com> | 2010-06-14 17:44:13 -0700 |
commit | 339b9d3ee67da07eb6c9147f7e39dbad88181cf2 (patch) | |
tree | a17597774f3022bddbd256d5730ebea25c5e3594 /indra/newview/llinventorybridge.h | |
parent | 5e5c1a6ff94f2d93a9958646c18b331d906470db (diff) | |
parent | 89f3c3d129d0aa716de9a4784ce999495f5f0a8b (diff) |
mergio mergio
Diffstat (limited to 'indra/newview/llinventorybridge.h')
-rw-r--r-- | indra/newview/llinventorybridge.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index d97dfd535e..757808eb93 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -123,6 +123,7 @@ public: EDragAndDropType cargo_type, void* cargo_data) { return FALSE; } virtual LLInventoryType::EType getInventoryType() const { return mInvType; } + virtual LLWearableType::EType getWearableType() const { return LLWearableType::WT_NONE; } //-------------------------------------------------------------------- // Convenience functions for adding various common menu options. @@ -471,6 +472,7 @@ public: virtual void buildContextMenu(LLMenuGL& menu, U32 flags); virtual std::string getLabelSuffix() const; virtual BOOL renameItem(const std::string& new_name); + virtual LLWearableType::EType getWearableType() const { return mWearableType; } static void onWearOnAvatar( void* userdata ); // Access to wearOnAvatar() from menu static BOOL canWearOnAvatar( void* userdata ); |