home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
SHAPE.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
95 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
/********************************************************************/
#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
//==============================================================================
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_OS2_)
interface ODShape : ODBaseShape
{
void InitShape();
#ifdef _PLATFORM_OS2_ // CED
ODRgnHandle GetRegion();
void SetRegion(in ODRgnHandle rgn );
ODRgnHandle CopyRegion();
#else
ODRgnHandle GetQDRegion();
void SetQDRegion(in ODRgnHandle rgn );
ODgxShape GetGXShape( );
void SetGXShape(in ODgxShape s);
ODRgnHandle CopyQDRegion();
#endif // _PLATFORM_OS2_
#ifdef __SOMIDL__
implementation
{
#ifdef _PLATFORM_OS2_ // CED
releaseorder:
InitShape,
GetRegion,
SetRegion,
CopyRegion;
#else
releaseorder:
InitShape,
GetQDRegion,
SetQDRegion,
GetGXShape,
SetGXShape,
CopyQDRegion;
#endif // _PLATFORM_OS2_
majorversion = 1; minorversion = 0;
functionprefix = ODShape__;
};
#endif
};
#endif // _PLATFORM_MACINTOSH_
#endif // _SHAPE_