aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfolderview.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfolderview.h')
-rw-r--r--linden/indra/newview/llfolderview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h
index af3248d..b668015 100644
--- a/linden/indra/newview/llfolderview.h
+++ b/linden/indra/newview/llfolderview.h
@@ -194,6 +194,9 @@ public:
194 194
195 void setFilterSubString(const std::string& string); 195 void setFilterSubString(const std::string& string);
196 const std::string getFilterSubString(BOOL trim = FALSE); 196 const std::string getFilterSubString(BOOL trim = FALSE);
197
198 void setFilterWorn(bool worn) { mFilterWorn = worn; }
199 bool getFilterWorn() const { return mFilterWorn; }
197 200
198 void setFilterPermissions(PermissionMask perms); 201 void setFilterPermissions(PermissionMask perms);
199 PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } 202 PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; }
@@ -257,6 +260,7 @@ protected:
257 filter_ops mDefaultFilterOps; 260 filter_ops mDefaultFilterOps;
258 std::string::size_type mSubStringMatchOffset; 261 std::string::size_type mSubStringMatchOffset;
259 std::string mFilterSubString; 262 std::string mFilterSubString;
263 bool mFilterWorn;
260 U32 mOrder; 264 U32 mOrder;
261 const std::string mName; 265 const std::string mName;
262 S32 mFilterGeneration; 266 S32 mFilterGeneration;
@@ -745,6 +749,7 @@ public:
745 749
746 LLInventoryFilter* getFilter() { return &mFilter; } 750 LLInventoryFilter* getFilter() { return &mFilter; }
747 const std::string getFilterSubString(BOOL trim = FALSE); 751 const std::string getFilterSubString(BOOL trim = FALSE);
752 bool getFilterWorn() const { return mFilter.getFilterWorn(); }
748 U32 getFilterTypes() const { return mFilter.getFilterTypes(); } 753 U32 getFilterTypes() const { return mFilter.getFilterTypes(); }
749 PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } 754 PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); }
750 LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } 755 LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); }