#ifdef __PRIVATE__
//#
//#	File:		FocusItr.idl
//#
//#	Contains:	Class definition for ODFocusSetIterator
//#
//#	Written by:	Richard Rodseth
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <2>	 6/16/94	RR		Added function prefix
//#		 <1>	  6/8/94	RR		first checked in
//#		 <4>	  6/7/94	RR		Privatise change log
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _FOCUSITR_
#define _FOCUSITR_

#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif

//=====================================================================================
// Classes defined in this interface
//=====================================================================================

interface  ODFocusSetIterator;    // Iterator over the elements in a focus set

//=====================================================================================
// Classes used by this interface
//=====================================================================================

interface  ODFocusSet;

#ifdef __PRIVATE__
//=====================================================================================
// Implementation Types
//=====================================================================================

typedef somToken LinkedListIterator;
#endif

//=====================================================================================
// Class ODFocusSetIterator
//=====================================================================================

interface ODFocusSetIterator : ODObject
{
   ODTypeToken First();

   ODTypeToken Next();

   ODBoolean IsNotComplete();

#ifdef __PRIVATE__

  void InitFocusSetIterator(in ODFocusSet focusSet);

#endif

#ifdef __SOMIDL__

  implementation
  {
  		functionprefix = ODFocusSetIterator;

	override:
		somInit,
    	somUninit;
		
    releaseorder:
        First,
        Next,
        IsNotComplete,
        InitFocusSetIterator;
		
    #ifdef __PRIVATE__
	passthru C_xih = "
	""
	"class LinkedListIterator;"
	"";
      LinkedListIterator*  fIterator;
    #endif

  };
#endif
};

#endif //# _FOCUSITR_
