#ifdef __PRIVATE__
//#
//#	File:		PfTypLs.idl
//#
//#	Contains:	Definition of ODPlatformTypeList
//#
//#	Written by:	Craig Carper
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <2>	 6/23/94	CC		Added functionprefix.
//#		 <1>	  6/8/94	VL		first checked in
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _PFTYPLS_
#define _PFTYPLS_

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

//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface  ODPlatformTypeList;

//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODPlatformTypeListIterator;

#ifdef __PRIVATE__
typedef somToken OrderedCollection;
#endif

//=====================================================================================
// Class ODPlatformTypeList
//=====================================================================================

interface ODPlatformTypeList : ODObject
{
   void InitPlatformTypeList(in ODPlatformTypeList typeList);
  
   void AddLast(in ODPlatformType type);
  
   void Remove(in ODPlatformType type);
    
   ODBoolean Contains(in ODPlatformType type);
  
   ODULong Count();
    
   ODPlatformTypeListIterator CreatePlatformTypeListIterator();

#ifdef __PRIVATE__
	OrderedCollection* GetImplementation();
#endif

#ifdef __SOMIDL__
	implementation
	{
		functionprefix = ODPlatformTypeList;
		override:
			somInit,
			somUninit;
		releaseorder:
			InitPlatformTypeList,
			AddLast,
			Remove,
			Contains,
			Count,
			CreatePlatformTypeListIterator,
		#ifdef __PRIVATE__
			GetImplementation;
		#else
			reserved1;
		#endif

		#ifdef __PRIVATE__
		passthru C_xih = "class OrderedCollection;";
		passthru C_xh = "class OrderedCollection;";
		OrderedCollection*	fList;
		#endif
	
	};
#endif
};

#endif  //# _PFTYPLS_
