home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
COMP.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
79 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. */
/* */
/* */
/********************************************************************/
#include <somobj.idl>
#include <somcls.idl>
#ifndef _ODTYPESM_
#include <ODTypesM.idl>
#endif
#ifndef _COMPONENT_
#define _COMPONENT_
//==============================================================================
// Class defined in this interface
//==============================================================================
interface Component;
//==============================================================================
// Classes used by this interface
//==============================================================================
//==============================================================================
// Implementation Types
//==============================================================================
typedef somToken OSErr;
//==============================================================================
// Class Component
//==============================================================================
interface Component : SOMObject {
OSErr GetComponentInstanceError();
void SetComponentInstanceError(in OSErr theError);
ODULong GetComponentVersion();
#ifdef __SOMIDL__
implementation {
OSErr componentError;
ODULong componentVersion;
majorversion = 1;
minorversion = 0;
somDefaultInit: override, init;
somDestruct: override;
functionprefix = COMP_;
releaseorder : GetComponentInstanceError,
SetComponentInstanceError,
GetComponentVersion,
Reserved1;
dllname = "OPENDOC.DLL";
};
#endif
};
#endif