aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llviewquery.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:34 -0500
committerJacek Antonelli2008-08-15 23:45:34 -0500
commitcd17687f01420952712a500107e0f93e7ab8d5f8 (patch)
treece48c2b706f2c1176290e39fb555fbdf6648ce01 /linden/indra/llui/llviewquery.cpp
parentSecond Life viewer sources 1.19.0.5 (diff)
downloadmeta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.zip
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.gz
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.bz2
meta-impy-cd17687f01420952712a500107e0f93e7ab8d5f8.tar.xz
Second Life viewer sources 1.19.1.0
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llviewquery.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/linden/indra/llui/llviewquery.cpp b/linden/indra/llui/llviewquery.cpp
index 40c2d61..5c58ad6 100644
--- a/linden/indra/llui/llviewquery.cpp
+++ b/linden/indra/llui/llviewquery.cpp
@@ -71,22 +71,9 @@ filterResult_t LLWidgetTypeFilter::operator() (const LLView* const view, const v
71 return filterResult_t(view->getWidgetType() == mType, TRUE); 71 return filterResult_t(view->getWidgetType() == mType, TRUE);
72} 72}
73 73
74//
74// LLViewQuery 75// LLViewQuery
75 76//
76LLViewQuery::LLViewQuery(): mPreFilters(), mPostFilters(), mSorterp()
77{
78}
79
80void LLViewQuery::addPreFilter(const LLQueryFilter* prefilter) { mPreFilters.push_back(prefilter); }
81
82void LLViewQuery::addPostFilter(const LLQueryFilter* postfilter) { mPostFilters.push_back(postfilter); }
83
84const LLViewQuery::filterList_t & LLViewQuery::getPreFilters() const { return mPreFilters; }
85
86const LLViewQuery::filterList_t & LLViewQuery::getPostFilters() const { return mPostFilters; }
87
88void LLViewQuery::setSorter(const LLQuerySorter* sorterp) { mSorterp = sorterp; }
89const LLQuerySorter* LLViewQuery::getSorter() const { return mSorterp; }
90 77
91viewList_t LLViewQuery::run(LLView* view) const 78viewList_t LLViewQuery::run(LLView* view) const
92{ 79{