scattered NS_IMETHOD liberally through interface

This commit is contained in:
jfrancis%netscape.com 1999-02-12 07:01:06 +00:00
parent 9edcae35f2
commit 3f22b195b4
2 changed files with 12 additions and 12 deletions

View File

@ -34,30 +34,30 @@ public:
/** First will reset the list. will return NS_FAILED if no items
*/
virtual nsresult First()=0;
NS_IMETHOD First()=0;
/** Last will reset the list to the end. will return NS_FAILED if no items
*/
virtual nsresult Last()=0;
NS_IMETHOD Last()=0;
/** Next will advance the list. will return failed if allready at end
*/
virtual nsresult Next()=0;
NS_IMETHOD Next()=0;
/** Prev will decrement the list. will return failed if allready at beginning
*/
virtual nsresult Prev()=0;
NS_IMETHOD Prev()=0;
/** CurrentItem will return the CurrentItem item it will fail if the list is empty
* @param aItem return value
*/
virtual nsresult CurrentItem(nsISupports **aItem)=0;
NS_IMETHOD CurrentItem(nsISupports **aItem)=0;
/** return if the collection is at the end. that is the beginning following a call to Prev
* and it is the end of the list following a call to next
* @param aItem return value
*/
virtual nsresult IsDone()=0;
NS_IMETHOD IsDone()=0;
};

View File

@ -34,30 +34,30 @@ public:
/** First will reset the list. will return NS_FAILED if no items
*/
virtual nsresult First()=0;
NS_IMETHOD First()=0;
/** Last will reset the list to the end. will return NS_FAILED if no items
*/
virtual nsresult Last()=0;
NS_IMETHOD Last()=0;
/** Next will advance the list. will return failed if allready at end
*/
virtual nsresult Next()=0;
NS_IMETHOD Next()=0;
/** Prev will decrement the list. will return failed if allready at beginning
*/
virtual nsresult Prev()=0;
NS_IMETHOD Prev()=0;
/** CurrentItem will return the CurrentItem item it will fail if the list is empty
* @param aItem return value
*/
virtual nsresult CurrentItem(nsISupports **aItem)=0;
NS_IMETHOD CurrentItem(nsISupports **aItem)=0;
/** return if the collection is at the end. that is the beginning following a call to Prev
* and it is the end of the list following a call to next
* @param aItem return value
*/
virtual nsresult IsDone()=0;
NS_IMETHOD IsDone()=0;
};