summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewmodel.h
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-10-30 18:27:56 -0700
committerMerov Linden <merov@lindenlab.com>2012-10-30 18:27:56 -0700
commitf9b1b440710668a9979e33c7582d79d14cae8d0d (patch)
tree3e3696c58efb70b27652426bc7a8fe2a98a6074f /indra/llui/llfolderviewmodel.h
parenta7a24dc2f9450e0d51e7110a7eb44e0f27a010db (diff)
CHUI-463 : Fixed. Allowed a model to be shared by several views.
Diffstat (limited to 'indra/llui/llfolderviewmodel.h')
-rw-r--r--indra/llui/llfolderviewmodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llfolderviewmodel.h b/indra/llui/llfolderviewmodel.h
index 5ec08ae211..7019857c0f 100644
--- a/indra/llui/llfolderviewmodel.h
+++ b/indra/llui/llfolderviewmodel.h
@@ -202,6 +202,7 @@ public:
virtual S32 getSortVersion() = 0;
virtual void setSortVersion(S32 version) = 0;
virtual void setParent(LLFolderViewModelItem* parent) = 0;
+ virtual bool hasParent() = 0;
protected:
@@ -332,6 +333,7 @@ public:
protected:
virtual void setParent(LLFolderViewModelItem* parent) { mParent = parent; }
+ virtual bool hasParent() { return mParent != NULL; }
S32 mSortVersion;
bool mPassedFilter;