home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
comp.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
3KB
|
106 lines
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odscript
//#
//# CLASSES: none
//#
//# ORIGINS: 27
//#
//#
//# (C) COPYRIGHT International Business Machines Corp. 1995,1996
//# All Rights Reserved
//# Licensed Materials - Property of IBM
//# US Government Users Restricted Rights - Use, duplication or
//# disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//#
//# IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
//# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
//# PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
//# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
//# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
//# OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
//# OR PERFORMANCE OF THIS SOFTWARE.
//#
//#====END_GENERATED_PROLOG========================================
//#
// @(#) 1.3 com/src/odscript/idl/comp.idl, odscript, od96os2, odos29712d 10/31/96 12:44:03 [3/21/97 17:43:03]
//
// ===========================================================================
//
// Component
//
// This class is the base class for Components to be managed by the OpenDoc
// Component Manager. These classes are intended to be used as a way to
// expand the function available to OpenDoc parts. For example the OpenDoc
// Direct Scripting support uses a DirectScripting Component to allow the
// dynamic installation and use of new scripting language support classes.
//
// ===========================================================================
#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;
dllname = "oddsscr.dll";
somDefaultInit: override, init;
somDestruct: override;
functionprefix = COMP_;
releaseorder : GetComponentInstanceError,
SetComponentInstanceError,
GetComponentVersion,
Reserved1;
};
#endif
};
#endif