diff options
Diffstat (limited to 'engines/titanic/core/tree_item.h')
-rw-r--r-- | engines/titanic/core/tree_item.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/core/tree_item.h b/engines/titanic/core/tree_item.h index afca5254df..e218cf3dbb 100644 --- a/engines/titanic/core/tree_item.h +++ b/engines/titanic/core/tree_item.h @@ -119,6 +119,16 @@ public: CTreeItem *scan(CTreeItem *item) const; /** + * Find the first child item that is of a given type + */ + CTreeItem *findChildInstanceOf(ClassDef *classDef) const; + + /** + * Find the next sibling item that is of the given type + */ + CTreeItem *findNextInstanceOf(ClassDef *classDef, CTreeItem *startItem) const; + + /** * Adds the item under another tree item */ void addUnder(CTreeItem *newParent); |