home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
EXTENSN.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
85 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 _EXTENSN_
#define _EXTENSN_
#ifndef _REFCTOBJ_
#include "RefCtObj.idl"
#endif
//==============================================================================
// Theory of Operation
//==============================================================================
/*
ODExtension is the abstract base class from which object extension interfaces
are derived. The base class itself has minimal behavior. It knows which
object it is an extension of, and how to release resources in itself and in
its object. Further behavior should be implemented in derived classes.
*/
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODExtension;
//==============================================================================
// Classes used by this interface
//==============================================================================
//==============================================================================
// ODExtension
//==============================================================================
interface ODExtension : ODRefCntObject
{
void InitExtension(in ODObject base);
ODObject GetBase();
void BaseRemoved();
ODBoolean IsValid();
void CheckValid();
#ifdef __SOMIDL__
implementation
{
functionprefix = ODExtension;
override:
somInit,
somUninit,
Release;
releaseorder:
InitExtension,
GetBase,
BaseRemoved,
IsValid,
CheckValid;
};
#endif
};
#endif // _EXTENSN_