Added a paramater for stating if children of a different type should be returned from FindChildWithName or not.

This commit is contained in:
tbogard%aol.net 2000-03-11 00:55:39 +00:00
Родитель e4d15301dc
Коммит 175c01a3ce
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -57,13 +57,14 @@ interface nsIDocShellTreeNode : nsISupports
aName - This is the name of the item that is trying to be found.
aRecurse - Is used to tell the function to recurse through children.
Note, recursion will only happen through items of the same type.
aSameType - If this is set only children of the same type will be returned.
aRequestor - This is the docshellTreeItem that is requesting the find. This
parameter is used when recursion is being used to avoid searching the same
tree again when a child has asked a parent to search for children.
Note the search is depth first when recursing.
*/
nsIDocShellTreeItem findChildWithName(in wstring aName, in boolean aRecurse,
in nsIDocShellTreeItem aRequestor);
nsIDocShellTreeItem findChildWithName(in wstring aName, in boolean aRecurse,
in boolean aSameType, in nsIDocShellTreeItem aRequestor);
};