#ifdef __PRIVATE__
//#
//#	File:		MemCtr.idl
//#
//#	Contains:	class definition for Bento Memory Container
//#
//#	Written by:	Vincent Lo
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <5>	 11/1/94	VL		1194188: Implemented unimplemented
//#									functions.
//#		 <4>	 9/23/94	VL		1184272: ContainerID is now a sequence of
//#									octets.
//#		 <3>	 6/30/94	CC		Added private methods GetCMContainer() &
//#									GetHandlers() and private fields
//#									fCMContainer & fHandlers.
//#		 <2>	 6/15/94	CC		Added functionprefix to eliminate Undefined
//#									entry, name: "_%CREATE".
//#		 <1>	  6/8/94	VL		first checked in
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _MEMCTR_
#define _MEMCTR_

#ifndef _CMCTR_
#include "CMCtr.idl"
#endif

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

//==============================================================================
// ODContainer
//==============================================================================

interface ODMemContainer  :  ODBentoContainer 
{
#ifdef __SOMIDL__
	implementation
	{
	functionprefix = ODMemContainer;
	override:
		somInit,
		somUninit,
		Purge,
		GetName,
		SetName,
		#ifdef __PRIVATE__
			InitContainer,
			GetCMContainer,
			GetHandlers,
		#endif
		Create,
		Open,
		Close;
	releaseorder:
		;
	#ifdef __PRIVATE__
		passthru C_xih = 
				"#include <BentoHdr.h>"
				"#include <IText.h>"
				"";
		passthru C_xh = ""
				"class ODBentoHandlers;"
				"#include <CMAPI.h>"
				"";

		CMContainer			fCMContainer;
		ODBentoHandlers*	fHandlers;
		ODIText*			fName;
	#endif
	};
#endif
};


#endif  // _MEMCTR_

