diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-30 15:04:49 +0300 |
---|---|---|
committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-03-30 15:04:49 +0300 |
commit | c15ee792a7248cf141abb3ae6a26b33a5aca1ed7 (patch) | |
tree | c563ab45647a82a209d5323c13cfa88b8a9a9930 /indra/newview/llinventorygallery.h | |
parent | 198cd4df09d4d6aa9c5bbb6be9c4395d134f9f13 (diff) |
SL-19379 WIP allow hide link items in search result
Diffstat (limited to 'indra/newview/llinventorygallery.h')
-rw-r--r-- | indra/newview/llinventorygallery.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.h b/indra/newview/llinventorygallery.h index 9d1a277c65..02e706eecd 100644 --- a/indra/newview/llinventorygallery.h +++ b/indra/newview/llinventorygallery.h @@ -111,6 +111,8 @@ public: void setSearchType(LLInventoryFilter::ESearchType type); LLInventoryFilter::ESearchType getSearchType() { return mSearchType; } + void toggleSearchLinks(); + bool getSearchLinks(){ return mSearchLinks; } protected: @@ -187,6 +189,7 @@ private: std::map<LLInventoryGalleryItem*, S32> mItemIndexMap; LLInventoryFilter::ESearchType mSearchType; + bool mSearchLinks; }; class LLInventoryGalleryItem : public LLPanel @@ -241,6 +244,7 @@ public: void setThumbnail(LLUUID id); void setGallery(LLInventoryGallery* gallery) { mGallery = gallery; } bool isFolder() { return mIsFolder; } + bool isLink() { return mIsLink; } EInventorySortGroup getSortGroup() { return mSortGroup; } private: @@ -251,6 +255,7 @@ private: bool mDefaultImage; bool mHidden; bool mIsFolder; + bool mIsLink; std::string mAssetIDStr; std::string mDesc; |