home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Frame.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
7KB
|
293 lines
/* @(#)Z 1.4 com/src/layout/idl/Frame.idl, odlayout, od96os2, odos29712d 97/03/21 17:18:28 (96/07/15 18:32:47) */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odlayout
//#
//# 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========================================
//#
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _FRAME_
#define _FRAME_
#ifndef _PSTOBJ_
#include "PstObj.idl"
#endif
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODFrame;
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODFrameFacetIterator;
interface ODCanvas;
interface ODFacet;
interface ODPart;
interface ODShape;
interface ODTransform;
interface ODWindow;
//==============================================================================
// ODFrame
//==============================================================================
interface ODFrame : ODPersistentObject
{
//# containing frame
ODFrame AcquireContainingFrame();
void SetContainingFrame(in ODFrame frame);
//# window
ODWindow AcquireWindow();
void SetWindow(in ODWindow window);
//# getters/setters:
ODULong GetFrameGroup();
void SetFrameGroup(in ODULong groupID);
ODULong GetSequenceNumber();
void ChangeSequenceNumber(in ODULong sequenceNumber);
ODBoolean IsRoot();
ODBoolean IsSubframe();
void SetSubframe(in ODBoolean isSubframe);
ODBoolean IsOverlaid();
ODBoolean IsFrozen();
void SetFrozen(in ODBoolean isFrozen);
ODBoolean DoesPropagateEvents();
void SetPropagateEvents(in ODBoolean doesPropagateEvents);
ODBoolean IsInLimbo();
void SetInLimbo(in ODBoolean isInLimbo);
//# part
ODPart AcquirePart();
void ChangePart(in ODPart part);
ODInfoType GetPartInfo();
void SetPartInfo(in ODInfoType partInfo);
ODTypeToken GetViewType();
void SetViewType(in ODTypeToken viewType);
void ChangeViewType(in ODTypeToken viewType);
ODTypeToken GetPresentation();
void SetPresentation(in ODTypeToken presentation);
void ChangePresentation(in ODTypeToken presentation);
//# facets
void FacetAdded(in ODFacet facet);
void FacetRemoved(in ODFacet facet);
ODFrameFacetIterator CreateFacetIterator();
//# shapes:
ODShape CreateShape();
//# frame shape
ODShape AcquireFrameShape(in ODCanvas biasCanvas);
void ChangeFrameShape(in ODShape shape, in ODCanvas biasCanvas);
ODShape RequestFrameShape(in ODShape shape, in ODCanvas biasCanvas);
//# used shape
ODShape AcquireUsedShape(in ODCanvas biasCanvas);
void ChangeUsedShape(in ODShape shape, in ODCanvas biasCanvas);
//# transformations:
ODTransform CreateTransform();
ODTransform AcquireInternalTransform(in ODCanvas biasCanvas);
void ChangeInternalTransform(in ODTransform transform, in ODCanvas biasCanvas);
//# content extent:
void GetContentExtent(out ODPoint contentExtent);
void ChangeContentExtent(in ODPoint contentExtent);
//# drag&drop:
ODBoolean IsDroppable();
void SetDroppable(in ODBoolean isDroppable);
ODBoolean IsDragging();
void SetDragging(in ODBoolean isDragging);
//# linking:
void ContentUpdated(in ODUpdateID change);
void ChangeLinkStatus(in ODLinkStatus status);
ODLinkStatus GetLinkStatus();
ODBoolean EditInLink();
//# invalidation/draw:
void Invalidate(in ODShape invalidShape, in ODCanvas biasCanvas);
void Validate(in ODShape validShape, in ODCanvas biasCanvas);
void InvalidateActiveBorder();
void DrawActiveBorder();
//# ref counting
void Close();
void Remove();
//# Private to implementation
#ifdef __SOMIDL__
implementation
{
majorversion = 1; minorversion = 0;
functionprefix = ODFrame;
override:
somUninit,
Purge,
Release,
ReleaseAll,
Externalize,
GetID,
CloneInto;
releaseorder:
AcquireContainingFrame,
SetContainingFrame,
AcquireWindow,
SetWindow,
GetFrameGroup,
SetFrameGroup,
GetSequenceNumber,
ChangeSequenceNumber,
IsRoot,
IsSubframe,
SetSubframe,
IsOverlaid,
IsFrozen,
SetFrozen,
DoesPropagateEvents,
SetPropagateEvents,
IsInLimbo,
SetInLimbo,
AcquirePart,
ChangePart,
GetPartInfo,
SetPartInfo,
GetViewType,
SetViewType,
ChangeViewType,
GetPresentation,
SetPresentation,
ChangePresentation,
FacetAdded,
FacetRemoved,
CreateFacetIterator,
CreateShape,
AcquireFrameShape,
ChangeFrameShape,
RequestFrameShape,
AcquireUsedShape,
ChangeUsedShape,
CreateTransform,
AcquireInternalTransform,
ChangeInternalTransform,
GetContentExtent,
ChangeContentExtent,
IsDroppable,
SetDroppable,
IsDragging,
SetDragging,
ContentUpdated,
ChangeLinkStatus,
GetLinkStatus,
EditInLink,
Invalidate,
Validate,
InvalidateActiveBorder,
DrawActiveBorder,
Close,
Remove,
reserved1,
reserved2,
reserved3,
reserved4,
reserved5,
reserved6,
reserved7;
};
#endif
};
#endif //# _FRAME_