home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Clipbd.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
6KB
|
191 lines
/* @(#)Z 1.20 com/src/storage/idl/Clipbd.idl, oddataxfer, od96os2, odos29712d 97/03/21 17:20:07 (96/10/29 09:32:09) */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: oddataxfer
//#
//# CLASSES: none
//#
//# ORIGINS: 82,27,94
//#
//#
//# (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========================================
//#
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _CLIPBD_
#define _CLIPBD_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODClipboard;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODStorageUnit;
interface ODDraft;
interface ODPlatformTypeList;
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
interface ODFacet;
interface ODTypeList;
#endif //# _PLATFORM_MACINTOSH_ or OS/2 or WIN32
#ifdef _PLATFORM_OS2_
interface ODTypeList;
interface ODPart;
interface OrderedCollection;
#endif
//=====================================================================================
// Implementation Types
//=====================================================================================
#define PROMISEKEEPER
#ifdef _PLATFORM_WIN32_
#ifdef PROMISEKEEPER
typedef somToken OLEPromiseKeeper;
#endif
typedef somToken DWORD;
//typedef somToken HWND;
typedef somToken LPVOID;
typedef somToken POINTL;
typedef somToken Handle;
typedef somToken ODOLEManager;
#endif //# _PLATFORM_WIN32_
#ifdef _PLATFORM_OS2_
#endif
//=====================================================================================
// ODClipboard
//=====================================================================================
interface ODClipboard : ODObject
{
ODUpdateID GetUpdateID();
void Clear();
ODStorageUnit GetContentStorageUnit();
ODUpdateID ActionDone(in ODCloneKind cloneKind);
void ActionUndone(in ODUpdateID update, in ODCloneKind originalCloneKind);
void ActionRedone(in ODUpdateID update, in ODCloneKind originalCloneKind);
void SetPlatformClipboard(in ODPlatformTypeList typeList);
void ExportClipboard();
void DraftSaved(in ODDraft draft);
void DraftClosing(in ODDraft draft);
#if defined(_PLATFORM_WIN32_) || defined(_PLATFORM_AIX_)
ODBoolean CanEmbed();
#endif
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_AIX_)
ODBoolean ShowPasteAsDialog(
in ODBoolean canPasteLink,
in ODPasteAsMergeSetting mergeSetting,
in ODFacet facet,
in ODTypeToken viewType,
out ODPasteAsResult theResult);
#endif //# _PLATFORM_MACINTOSH_ or _PLATFORM_WIN32_ or _PLATFORM_OS2_
#ifdef _PLATFORM_OS2_
ODBoolean RegisterClipboardFormat(in ODType odType,
in ODPlatformType odPlatformType,
in ODULong formatInfo );
ODBoolean DeregisterClipboardFormat(in ODType odType );
ODBoolean CanEmbed(); // [140007]
ODBoolean CanIncorporate(in ODType kind); // [140007]
#endif
#ifdef __SOMIDL__
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_OS2_) || defined(_PLATFORM_AIX_)
implementation
{
majorversion = 1; minorversion = 0;
functionprefix = ODClipboard;
override:
somUninit,
Purge;
releaseorder:
GetUpdateID,
Clear,
GetContentStorageUnit,
ActionDone,
ActionUndone,
ActionRedone,
SetPlatformClipboard,
ExportClipboard,
DraftSaved,
DraftClosing,
ShowPasteAsDialog,
#ifdef _PLATFORM_WIN32_
PlatformClipboardHasType,
ClipboardChanged,
CanEmbed,
ReservedA,
ReservedB,
#endif // _PLATFORM_WIN32_
#ifdef _PLATFORM_OS2_
RegisterClipboardFormat,
DeregisterClipboardFormat,
CanEmbed,
CanIncorporate,
PutContentOnPlatformClipboard,
#endif // _PLATFORM_OS2_
#if defined(_PLATFORM_MACINTOSH_) || defined(_PLATFORM_AIX_)
PutContentOnPlatformClipboard,
CanEmbed,
ReservedA,
ReservedB,
ReservedC,
#endif // MAC or AIX
reserved1,
reserved2,
reserved3,
reserved4,
reserved5,
reserved6,
reserved7,
reserved8,
reserved9,
reserved10;
};
#endif //# _PLATFORM_MACINTOSH_ or WIN32 or OS2
#endif //# __SOMIDL__
};
#endif // _CLIPBD_