home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
WINSTAT.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
7KB
|
263 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 _WINSTAT_
#define _WINSTAT_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODWindowState;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODCanvas;
interface ODDraft;
interface ODFacet;
interface ODFrame;
interface ODMenuBar;
interface ODPart;
interface ODSession;
interface ODShape;
interface ODSession;
interface ODTransform;
interface ODWindow;
interface ODWindowIterator;
#ifdef _PLATFORM_OS2_
interface ODPopup;
#endif
//=====================================================================================
// ODWindowState
//=====================================================================================
interface ODWindowState : ODObject
{
ODWindow RegisterWindow(in ODPlatformWindow newWindow,
in ODType frameType,
in ODBoolean isRootWindow,
in ODBoolean isResizable,
in ODBoolean isFloating,
in ODBoolean shouldSave,
in ODBoolean shouldDispose,
in ODPart rootPart,
in ODTypeToken viewType,
in ODTypeToken presentation,
in ODFrame sourceFrame);
ODWindow RegisterWindowForFrame(in ODPlatformWindow newWindow,
in ODFrame frame,
in ODBoolean isRootWindow,
in ODBoolean isResizable,
in ODBoolean isFloating,
in ODBoolean shouldSave,
in ODBoolean shouldDispose,
in ODFrame sourceFrame);
ODWindow AcquireWindow(in ODID id);
void Internalize(in ODDraft draft);
void Externalize(in ODDraft draft);
void SetDefaultWindowTitles(in ODDraft draft);
void OpenWindows(in ODDraft draft);
void CloseWindows(in ODDraft draft);
ODUShort GetWindowCount();
ODUShort GetRootWindowCount(in ODDraft draft);
ODUShort GetTotalRootWindowCount();
ODBoolean IsODWindow(in ODPlatformWindow aWindow);
ODWindow AcquireODWindow(in ODPlatformWindow aWindow);
ODWindowIterator CreateWindowIterator();
ODWindow AcquireActiveWindow();
void SetBaseMenuBar(in ODMenuBar theMenuBar);
ODMenuBar CopyBaseMenuBar();
void AdjustPartMenus();
ODMenuBar CreateMenuBar(in ODPlatformMenuBar menuBar);
ODCanvas CreateCanvas(in ODGraphicsSystem graphicsSystem,
in ODPlatformCanvas platformCanvas,
in ODBoolean isDynamic,
in ODBoolean isOffscreen);
ODFacet CreateFacet(in ODFrame frame,
in ODShape clipShape,
in ODTransform externalTransform,
in ODCanvas canvas,
in ODCanvas biasCanvas);
ODMenuBar AcquireCurrentMenuBar();
ODMenuBar AcquireBaseMenuBar();
#ifdef _PLATFORM_MACINTOSH_
void DeactivateFrontWindows();
void ActivateFrontWindows();
ODWindow AcquireFrontWindow();
ODWindow AcquireFrontFloatingWindow();
ODWindow AcquireFrontRootWindow();
#endif
#ifdef _PLATFORM_OS2_
void SetBasePopup(in ODPopup thePopup);
ODPopup CopyBasePopup();
ODWindow AcquireFrontWindow();
ODWindow AcquireFrontFloatingWindow();
ODWindow AcquireFrontRootWindow();
#endif
#ifdef __SOMIDL__
#ifdef _PLATFORM_MACINTOSH_
implementation
{
functionprefix = ODWindowState;
override:
somInit,
somUninit,
Purge;
releaseorder:
RegisterWindow,
RegisterWindowForFrame,
AcquireWindow,
Internalize,
Externalize,
SetDefaultWindowTitles,
OpenWindows,
CloseWindows,
GetWindowCount,
GetRootWindowCount,
GetTotalRootWindowCount,
IsODWindow,
AcquireODWindow,
CreateWindowIterator,
AcquireActiveWindow,
SetBaseMenuBar,
CopyBaseMenuBar,
AdjustPartMenus,
CreateMenuBar,
CreateCanvas,
CreateFacet,
AcquireCurrentMenuBar,
AcquireBaseMenuBar,
DeactivateFrontWindows,
ActivateFrontWindows,
AcquireFrontWindow,
AcquireFrontFloatingWindow,
AcquireFrontRootWindow,
reserved1, reserved2, reserved3, reserved4, reserved5, reserved6,
reserved7, reserved8, reserved9, reserved10, reserved11, reserved12,
reserved13, reserved14, reserved15, reserved16, reserved17, reserved18,
reserved19,reserved20,reserved21,reserved22,reserved23;
majorversion = 1; minorversion = 0;
};
#endif
#ifdef _PLATFORM_OS2_
implementation
{
functionprefix = ODWindowState;
override:
somInit,
somUninit,
Purge;
releaseorder:
RegisterWindow,
RegisterWindowForFrame,
AcquireWindow,
Internalize,
Externalize,
SetDefaultWindowTitles,
OpenWindows,
CloseWindows,
GetWindowCount,
GetRootWindowCount,
GetTotalRootWindowCount,
IsODWindow,
AcquireODWindow,
CreateWindowIterator,
AcquireActiveWindow,
SetBaseMenuBar,
CopyBaseMenuBar,
AdjustPartMenus,
CreateMenuBar,
CreateCanvas,
CreateFacet,
AcquireCurrentMenuBar,
AcquireBaseMenuBar,
DeactivateFrontWindows,
ActivateFrontWindows,
AcquireFrontWindow,
AcquireFrontFloatingWindow,
AcquireFrontRootWindow,
SetBasePopup,
CopyBasePopup,
reserved1, reserved2, reserved3, reserved4, reserved5, reserved6,
reserved7, reserved8, reserved9, reserved10, reserved11, reserved12,
reserved13, reserved14, reserved15, reserved16, reserved17, reserved18,
reserved19, reserved20, reserved21, reserved22;
majorversion = 1; minorversion = 0;
};
#endif
#endif
};
#endif // _WINSTAT_