home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Window.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
7KB
|
204 lines
/* @(#) 1.12 com/src/ui/idl/Window.idl, odui, od96os2, odos29712d 2/19/97 15:26:54 [3/21/97 17:20:49] */
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odui
//#
//# 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========================================
//#
/********************************************************************/
/* 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. */
/********************************************************************/
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _WINDOW_
#define _WINDOW_
#ifndef _REFCTOBJ_
#include "RefCtObj.idl"
#endif
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODWindow;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODFacet;
interface ODFrame;
//=====================================================================================
// ODWindow
//=====================================================================================
interface ODWindow : ODRefCntObject
{
ODPlatformWindow GetPlatformWindow();
ODFrame AcquireSourceFrame();
void SetSourceFrame(in ODFrame frame);
ODFrame GetRootFrame();
ODFacet GetFacetUnderPoint(in ODPoint aPoint);
ODBoolean IsActive();
void Open();
void Close();
void CloseAndRemove();
void Show();
void Hide();
ODBoolean IsShown();
ODBoolean IsResizable();
ODBoolean IsRootWindow();
ODBoolean ShouldSave();
void SetShouldSave(in ODBoolean shouldSave);
ODBoolean ShouldShowLinks();
void SetShouldShowLinks(in ODBoolean shouldShowLinks);
void AdjustWindowShape();
ODID GetID();
ODBoolean IsFloating();
ODFacet GetRootFacet();
//#ifdef _PLATFORM_MACINTOSH_
void Select();
void Update();
#if defined(_PLATFORM_OS2_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_UNIX_)
void UpdateWindow(inout ODEventData theEvent);
#endif
ODBoolean ShouldDispose();
//#endif //# _PLATFORM_MACINTOSH_
#ifdef __SOMIDL__
//#ifdef _PLATFORM_MACINTOSH_
implementation
{
majorversion = 1; minorversion = 0;
functionprefix = ODWindow;
override:
somUninit,
Release,
Purge;
releaseorder:
GetPlatformWindow,
AcquireSourceFrame,
SetSourceFrame,
GetRootFrame,
GetFacetUnderPoint,
IsActive,
Open,
Close,
CloseAndRemove,
Show,
Hide,
IsShown,
IsResizable,
IsRootWindow,
ShouldSave,
SetShouldSave,
ShouldShowLinks,
SetShouldShowLinks,
AdjustWindowShape,
GetID,
IsFloating,
GetRootFacet,
Select,
Update,
ShouldDispose,
SetShouldDispose,
#ifdef _PLATFORM_MACINTOSH_
reserved1, reserved2, reserved3, reserved4, reserved5, reserved6,reserved7,
reserved8, reserved9, reserved10, reserved11, reserved12,reserved13, reserved14,
reserved15, reserved16, reserved17, reserved18,reserved19, reserved20, reserved21,
reserved22, reserved23, reserved24, reserved25, reserved26, reserved27, reserved28
#endif
#if defined(_PLATFORM_OS2_) || defined(_PLATFORM_WIN32_)
reserved1, reserved2, reserved3, reserved4, reserved5, reserved6,
reserved7, reserved8, reserved9, reserved10, reserved11, reserved12,
reserved13, reserved14, reserved15, reserved16, reserved17, reserved18,
reserved19, reserved20, reserved21
#endif
#ifdef _PLATFORM_UNIX_
reserved1, reserved2, reserved3, reserved4, reserved5, reserved6,
reserved7, reserved8, reserved9, reserved10, reserved11, reserved12,
reserved13, reserved14, reserved15, reserved16, reserved17, reserved18,
reserved19, reserved20, reserved21, reserved22, reserved23, reserved24,
reserved25, reserved26
#endif
#if defined(_PLATFORM_OS2_) || defined(_PLATFORM_WIN32_) || defined(_PLATFORM_UNIX_)
,UpdateWindow
#endif
;
};
// #endif //# _PLATFORM_MACINTOSH_
#endif //# __SOMIDL__
};
#endif // _WINDOW_