exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface.

This commit is contained in:
jfrancis%netscape.com 1999-03-23 11:54:52 +00:00
parent c19d197e95
commit eaed4a3df3
2 changed files with 24 additions and 0 deletions

View File

@ -68,6 +68,18 @@ public:
*/
NS_IMETHOD IsDone()=0;
/** PositionAt will position the iterator to the supplied node
*/
NS_IMETHOD PositionAt(nsIContent* aCurNode)=0;
/** MakePre will make the iterator a pre-order iterator
*/
NS_IMETHOD MakePre()=0;
/** MakePost will make the iterator a post-order iterator
*/
NS_IMETHOD MakePost()=0;
};

View File

@ -68,6 +68,18 @@ public:
*/
NS_IMETHOD IsDone()=0;
/** PositionAt will position the iterator to the supplied node
*/
NS_IMETHOD PositionAt(nsIContent* aCurNode)=0;
/** MakePre will make the iterator a pre-order iterator
*/
NS_IMETHOD MakePre()=0;
/** MakePost will make the iterator a post-order iterator
*/
NS_IMETHOD MakePost()=0;
};