summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfilter.h
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-26 14:57:54 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-26 14:57:54 -0700
commitc50f44e04ed4c14dd19b18421878cc0094cee9b2 (patch)
treebd7418ba39e5aeac26c31df3b5dd7d4e4b676e73 /indra/newview/llinventoryfilter.h
parentbf55d287db305907b83909c09bc5842a5a7a709f (diff)
parent6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff)
Merge viewer-release 3.6.5
Diffstat (limited to 'indra/newview/llinventoryfilter.h')
-rwxr-xr-xindra/newview/llinventoryfilter.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/indra/newview/llinventoryfilter.h b/indra/newview/llinventoryfilter.h
index 4912b5ca91..ce516af0b9 100755
--- a/indra/newview/llinventoryfilter.h
+++ b/indra/newview/llinventoryfilter.h
@@ -215,12 +215,11 @@ public:
void setModified(EFilterModified behavior = FILTER_RESTART);
// +-------------------------------------------------------------------+
- // + Count
+ // + Time
// +-------------------------------------------------------------------+
- void setFilterCount(S32 count);
- S32 getFilterCount() const;
- void decrementFilterCount();
-
+ void resetTime(S32 timeout);
+ bool isTimedOut();
+
// +-------------------------------------------------------------------+
// + Default
// +-------------------------------------------------------------------+
@@ -262,13 +261,15 @@ private:
const std::string mName;
S32 mCurrentGeneration;
+ // The following makes checking for pass/no pass possible even if the item is not checked against the current generation
+ // Any item that *did not pass* the "required generation" will *not pass* the current one
+ // Any item that *passes* the "success generation" will *pass* the current one
S32 mFirstRequiredGeneration;
S32 mFirstSuccessGeneration;
- S32 mNextFilterGeneration;
- S32 mFilterCount;
EFilterModified mFilterModified;
-
+ LLTimer mFilterTime;
+
std::string mFilterText;
std::string mEmptyLookupMessage;
};