home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
DragDrp.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
5KB
|
183 lines
/* @(#)Z 1.10 os2/src/storage/idl/DragDrp.idl, oddataxfer, od96os2, odos29712d 97/03/21 17:39:20 (96/08/23 01:43:12) */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: oddataxfer
//#
//# CLASSES: none
//#
//# ORIGINS: 82,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========================================
//#
#ifndef _DRAGDROP_
#define _DRAGDROP_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODDragAndDrop;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODSession;
interface ODPart;
interface ODStorageUnit;
interface ODFacet;
interface ODFrame;
interface ODDraft;
interface ODStorageSystem;
interface ODWindowState;
interface ODDragItemIterator;
interface ODStorageUnitView;
//=====================================================================================
// ODDragAndDrop
//=====================================================================================
interface ODDragAndDrop : ODObject
{
void Clear();
ODStorageUnit GetContentStorageUnit();
ODDropResult StartDrag(in ODFrame srcFrame,
in ODType imageType,
in ODByteArray image,
out ODPart destPart,
in ODByteArray refCon);
ODBoolean ShowPasteAsDialog(in ODBoolean canPasteLink,
in ODPasteAsMergeSetting mergeSetting,
in ODFacet facet,
in ODTypeToken viewType,
in ODStorageUnit contentSU,
out ODPasteAsResult theResult);
ODULong GetDragAttributes();
ODPlatformDragReference GetDragReference();
void GetPromiseFromDragManager(in ODPart sourcePart,
in ODStorageUnitView destSUView);
ODBoolean GetDataFromDragManager(in ODStorageUnitView theSUView, // [140007] removed szSelectedRMF
out ODStorageUnit renderedSU);
ODBoolean CanEmbed(in ODStorageUnit dropSU); // [140007]
ODBoolean CanIncorporate(in ODStorageUnit dropSU, // [140007]
in ODType kind);
#ifdef __SOMIDL__
implementation
{
functionprefix = ODDragAndDrop;
override:
somUninit;
releaseorder:
Clear,
GetContentStorageUnit,
StartDrag,
ShowPasteAsDialog,
GetDragAttributes,
GetDragReference,
GetPromiseFromDragManager,
GetDataFromDragManager,
CanEmbed,
CanIncorporate,
// reserved01 -- Clear
// reserved02 -- GetContentStorageUnit
// reserved03 -- StartDrag
// reserved04 -- ShowPasteAsDialog
// reserved05 -- GetDragAttributes
// reserved06 -- GetDragReference
// reserved07 -- GetPromiseFromDragManager
// reserved08 -- GetDataFromDragManager
// reserved09 -- CanEmbed
// reserved10 -- CanIncorporate
reserved11,
reserved12,
reserved13,
reserved14,
reserved15,
reserved16,
reserved17,
reserved18,
reserved19,
reserved20,
reserved21,
reserved22,
reserved23,
reserved24,
reserved25,
reserved26,
reserved27,
reserved28,
reserved29,
reserved30,
reserved31,
reserved32,
reserved33,
reserved34,
reserved35,
reserved36,
reserved37,
reserved38,
reserved39,
reserved40,
reserved41,
reserved42,
reserved43,
reserved44,
reserved45,
reserved46,
reserved47,
reserved48,
reserved49;
majorversion = 1; minorversion = 0;
passthru C_h =
""
"";
passthru C_xh =
"";
};
#endif //# __SOMIDL__
};
#endif // _DRAGDROP_