diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llui/llviewquery.h | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2 meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz |
Second Life viewer sources 1.20.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llviewquery.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linden/indra/llui/llviewquery.h b/linden/indra/llui/llviewquery.h index 7e947cd..c76ed25 100644 --- a/linden/indra/llui/llviewquery.h +++ b/linden/indra/llui/llviewquery.h | |||
@@ -87,14 +87,14 @@ class LLCtrlFilter : public LLQueryFilter, public LLSingleton<LLCtrlFilter> | |||
87 | /*virtual*/ filterResult_t operator() (const LLView* const view, const viewList_t & children) const; | 87 | /*virtual*/ filterResult_t operator() (const LLView* const view, const viewList_t & children) const; |
88 | }; | 88 | }; |
89 | 89 | ||
90 | template <class T> | ||
90 | class LLWidgetTypeFilter : public LLQueryFilter | 91 | class LLWidgetTypeFilter : public LLQueryFilter |
91 | { | 92 | { |
92 | public: | 93 | /*virtual*/ filterResult_t operator() (const LLView* const view, const viewList_t & children) const |
93 | LLWidgetTypeFilter(EWidgetType type) : mType(type) {}; | 94 | { |
94 | private: | 95 | return filterResult_t(dynamic_cast<const T*>(view) != NULL, TRUE); |
95 | /*virtual*/ filterResult_t operator() (const LLView* const view, const viewList_t & children) const; | 96 | } |
96 | 97 | ||
97 | EWidgetType mType; | ||
98 | }; | 98 | }; |
99 | 99 | ||
100 | // Algorithm for flattening | 100 | // Algorithm for flattening |