home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
LINKMGR.IDL
< prev
next >
Wrap
Text File
|
1995-11-08
|
3KB
|
106 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 _LINKMGR_
#define _LINKMGR_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
#ifndef _STORAGEU_
#include "StorageU.idl"
#endif
//=====================================================================================
// Theory of Operation
//=====================================================================================
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODLinkManager;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODSession;
interface ODDocument;
interface ODDraft;
interface ODLink;
interface ODLinkSource;
interface ODLinkSpec;
//=====================================================================================
// Private struct DraftInfo
//=====================================================================================
//=====================================================================================
// ODLinkManager
//=====================================================================================
interface ODLinkManager : ODObject
{
ODULong NewSectionID(in ODDraft draft);
ODBoolean ReserveSectionID(in ODULong sectionID,
in ODDraft draft);
ODBoolean UnsavedExportedLinks(in ODDraft draft);
ODBoolean AnyLinkImported(in ODDraft draft);
void DraftOpened(in ODDraft draft);
void DraftSaved(in ODDraft draft);
void DraftClosing(in ODDraft draft);
ODLinkSource CreateLink(in ODDraft draft,
in ODLinkSpec linkSpec);
#ifdef __SOMIDL__
implementation
{
functionprefix = ODLinkManager;
override:
somInit,
somUninit;
releaseorder:
reserved1,
NewSectionID,
ReserveSectionID,
UnsavedExportedLinks,
AnyLinkImported,
DraftOpened,
DraftSaved,
DraftClosing,
ExportOnSave,
DeleteOnSave,
CreateLink,
reserved2,reserved3,reserved4,reserved5;
};
#endif
};
#endif // _LINKMGR_