diff options
Diffstat (limited to 'linden/indra/newview/llfolderview.h')
-rw-r--r-- | linden/indra/newview/llfolderview.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llfolderview.h b/linden/indra/newview/llfolderview.h index 53aa3b9..3c350d4 100644 --- a/linden/indra/newview/llfolderview.h +++ b/linden/indra/newview/llfolderview.h | |||
@@ -103,6 +103,7 @@ public: | |||
103 | virtual BOOL isUpToDate() const = 0; | 103 | virtual BOOL isUpToDate() const = 0; |
104 | virtual BOOL hasChildren() const = 0; | 104 | virtual BOOL hasChildren() const = 0; |
105 | virtual LLInventoryType::EType getInventoryType() const = 0; | 105 | virtual LLInventoryType::EType getInventoryType() const = 0; |
106 | virtual LLInventoryType::NType getNInventoryType() const = 0; | ||
106 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, std::string action) {} | 107 | virtual void performAction(LLFolderView* folder, LLInventoryModel* model, std::string action) {} |
107 | 108 | ||
108 | // This method should be called when a drag begins. returns TRUE | 109 | // This method should be called when a drag begins. returns TRUE |
@@ -193,6 +194,9 @@ public: | |||
193 | 194 | ||
194 | void setFilterSubString(const std::string& string); | 195 | void setFilterSubString(const std::string& string); |
195 | 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; } | ||
196 | 200 | ||
197 | void setFilterPermissions(PermissionMask perms); | 201 | void setFilterPermissions(PermissionMask perms); |
198 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } | 202 | PermissionMask getFilterPermissions() const { return mFilterOps.mPermissions; } |
@@ -221,6 +225,7 @@ public: | |||
221 | void clearModified() { mModified = FALSE; mFilterBehavior = FILTER_NONE; } | 225 | void clearModified() { mModified = FALSE; mFilterBehavior = FILTER_NONE; } |
222 | const std::string getName() const { return mName; } | 226 | const std::string getName() const { return mName; } |
223 | std::string getFilterText(); | 227 | std::string getFilterText(); |
228 | std::string rebuildFilterText(); | ||
224 | 229 | ||
225 | void setFilterCount(S32 count) { mFilterCount = count; } | 230 | void setFilterCount(S32 count) { mFilterCount = count; } |
226 | S32 getFilterCount() { return mFilterCount; } | 231 | S32 getFilterCount() { return mFilterCount; } |
@@ -229,7 +234,7 @@ public: | |||
229 | void markDefault(); | 234 | void markDefault(); |
230 | void resetDefault(); | 235 | void resetDefault(); |
231 | 236 | ||
232 | BOOL isFilterWith(LLInventoryType::EType t); | 237 | BOOL isFilterWith(LLInventoryType::NType t); |
233 | 238 | ||
234 | S32 getCurrentGeneration() const { return mFilterGeneration; } | 239 | S32 getCurrentGeneration() const { return mFilterGeneration; } |
235 | S32 getMinRequiredGeneration() const { return mMinRequiredGeneration; } | 240 | S32 getMinRequiredGeneration() const { return mMinRequiredGeneration; } |
@@ -255,6 +260,7 @@ protected: | |||
255 | filter_ops mDefaultFilterOps; | 260 | filter_ops mDefaultFilterOps; |
256 | std::string::size_type mSubStringMatchOffset; | 261 | std::string::size_type mSubStringMatchOffset; |
257 | std::string mFilterSubString; | 262 | std::string mFilterSubString; |
263 | bool mFilterWorn; | ||
258 | U32 mOrder; | 264 | U32 mOrder; |
259 | const std::string mName; | 265 | const std::string mName; |
260 | S32 mFilterGeneration; | 266 | S32 mFilterGeneration; |
@@ -743,6 +749,7 @@ public: | |||
743 | 749 | ||
744 | LLInventoryFilter* getFilter() { return &mFilter; } | 750 | LLInventoryFilter* getFilter() { return &mFilter; } |
745 | const std::string getFilterSubString(BOOL trim = FALSE); | 751 | const std::string getFilterSubString(BOOL trim = FALSE); |
752 | bool getFilterWorn() const { return mFilter.getFilterWorn(); } | ||
746 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } | 753 | U32 getFilterTypes() const { return mFilter.getFilterTypes(); } |
747 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } | 754 | PermissionMask getFilterPermissions() const { return mFilter.getFilterPermissions(); } |
748 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } | 755 | LLInventoryFilter::EFolderShow getShowFolderState() { return mFilter.getShowFolderState(); } |