view dwt/internal/mozilla/nsIEnumerator.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents dd63eb078d7a
children 9a4d7706df52
line wrap: on
line source

module dwt.internal.mozilla.nsIEnumerator;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;

/******************************************************************************

******************************************************************************/

const char[] NS_IENUMERATOR_IID_STR = "ad385286-cbc4-11d2-8cca-0060b0fc14a3";

const nsIID NS_IENUMERATOR_IID= 
  {0xad385286, 0xcbc4, 0x11d2, 
    [ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]};

//extern(System)

interface nsIEnumerator : nsISupports {

  static const char[] IID_STR = NS_IENUMERATOR_IID_STR;
  static const nsIID IID = NS_IENUMERATOR_IID;

  nsresult First();
  nsresult Next();
  nsresult CurrentItem(nsISupports *_retval);
  nsresult IsDone();

}

/******************************************************************************

******************************************************************************/

const char[] NS_IBIDIRECTIONALENUMERATOR_IID_STR = "75f158a0-cadd-11d2-8cca-0060b0fc14a3";

const nsIID NS_IBIDIRECTIONALENUMERATOR_IID= 
  {0x75f158a0, 0xcadd, 0x11d2, 
    [ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]};

//extern(System)

interface nsIBidirectionalEnumerator : nsIEnumerator {

  static const char[] IID_STR = NS_IBIDIRECTIONALENUMERATOR_IID_STR;
  static const nsIID IID = NS_IBIDIRECTIONALENUMERATOR_IID;

  nsresult Last();
  nsresult Prev();

}