summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/llfolderviewmodel.h')
-rw-r--r--indra/llui/llfolderviewmodel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llfolderviewmodel.h b/indra/llui/llfolderviewmodel.h
index f4ddfa8f18..8684c71672 100644
--- a/indra/llui/llfolderviewmodel.h
+++ b/indra/llui/llfolderviewmodel.h
@@ -218,7 +218,8 @@ public:
virtual S32 getSortVersion() = 0;
virtual void setSortVersion(S32 version) = 0;
virtual void setParent(LLFolderViewModelItem* parent) = 0;
- virtual bool hasParent() = 0;
+ virtual LLFolderViewModelItem* getParent() const = 0;
+ virtual bool hasParent() const = 0;
protected:
@@ -358,7 +359,8 @@ public:
protected:
virtual void setParent(LLFolderViewModelItem* parent) { mParent = parent; }
- virtual bool hasParent() { return mParent != NULL; }
+ virtual LLFolderViewModelItem* getParent() const { return mParent; }
+ virtual bool hasParent() const { return mParent != NULL; }
S32 mSortVersion;
bool mPassedFilter;