home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
LINKSRC.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
109 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 _LINKSRC_
#define _LINKSRC_
#ifndef _LINKSRCB_
#include "LinkSrcB.idl"
#endif
#ifndef _ODDEFS_
#include "IODDefs.idl"
#endif
//==============================================================================
// Theory of Operation
//==============================================================================
/*
This class is used to represent the source side of OpenDoc links. ODDrafts
create and own these links. The source ODPart will ask the draft to create
an ODLinkSource and an ODLink pair, and return the ODLink object to the
the destination part. The destination part uses the ODLink object to
extract the contents of the link.
*/
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODLinkSource;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODStorageUnit;
interface ODPart;
interface ODLink;
//==============================================================================
// ODLinkSource
//==============================================================================
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_OS2_)
interface ODLinkSource : ODBaseLinkSource
{
#ifdef _PLATFORM_OS2_
void SetDescription (in ODLinkDescription desc);
// Called by source Part to set its description.
void GetDescription (out ODLinkDescription desc);
// Called by source Part to get its description.
#endif /*_PLATFORM_OS2_*/
#ifdef __SOMIDL__
implementation
{
functionprefix = ODLinkSource;
override:
somInit,
somUninit,
Release,
Externalize,
ReleaseAll,
CloneInto,
SetAutoUpdate,
ShowSourceContent,
SetSourcePart;
releaseorder:
#ifdef _PLATFORM_OS2_
SetDescription,
GetDescription,
#endif /*_PLATFORM_OS2_*/
reserved1,
reserved2,
#ifdef _PLATFORM_MACINTOSH_
reserved3,
reserved4,
#endif
reserved5,
reserved6;
majorversion = 1; minorversion = 0;
};
#endif // __SOMIDL_
};
#endif // _PLATFORM_MACINTOSH_
#endif // _LINKSRC_