#ifdef __PRIVATE__
//#
//#	File:		Shape.idl
//#
//#	Contains:	ODShape, Mac-specific extensions to ODBaseShape
//#
//#	Written by:	xxx put writers here xxx
//#
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <3>	 8/17/94	jpa		Added "functionprefix" directive. [1181512]
//#		 <2>	 7/26/94	jpa		Added somInit method.
//#		 <1>	  6/8/94	jpa		first checked in
//#		 <6>	  6/7/94	jpa		Tweaked more params.
//#
//#	To Do:
//#
#else
//#	Copyright:	c 1993-1994 by Apple Computer, Inc., all rights reserved.
#endif

#ifndef _SHAPE_
#define _SHAPE_

#ifndef _SHAPEB_
#include "ShapeB.idl"      
#endif

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

interface ODShape;

//==============================================================================
// Classes used in this interface
//==============================================================================

interface ODTransform;
interface ODStorageUnit;


//==============================================================================
// ODShape
//==============================================================================

#ifdef _PLATFORM_MACINTOSH_

interface ODShape :  ODBaseShape
{
	void		InitShape();
		
	//# $$$$$ These were inline. Could be inlined again using pass-thrus to C++??
	
	ODRgnHandle	GetWinRegion();
			  
	void		SetWinRegion(in ODRgnHandle rgn );
	
#ifdef PLATFORM_MACINTOSH		  
	ODgxShape	GetGXShape( );
			  
	void		SetGXShape(in ODgxShape s);
#endif
			  
	ODRgnHandle	CopyWinRegion();

  
#ifdef __SOMIDL__
	implementation
	{
		override:
			somInit;
			
		releaseorder:
			InitShape,
			GetWinRegion,
			SetWinRegion,
#ifdef PLATFORM_MACINTOSH		  
			GetGXShape,
			SetGXShape,
#endif
			CopyWinRegion,
	
		majorversion = 1; minorversion = 0;

		functionprefix = ODShape;
	};
#endif
};

#endif //# _PLATFORM_MACINTOSH_

#endif //# _SHAPE_
