home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Arbitrat.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
4KB
|
132 lines
/* @(#)Z 1.2 com/src/ui/idl/Arbitrat.idl, odui, od96os2, odos29712d 97/03/21 17:20:46 (96/07/15 18:28:15) */
//#====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========================================
//#
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _ARBITRAT_
#define _ARBITRAT_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//=====================================================================================
// Class defined in this interface
//=====================================================================================
interface ODArbitrator;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODFocusModule;
interface ODFocusSet;
interface ODFocusOwnerIterator;
interface ODFrame;
//=====================================================================================
// Class ODArbitrator
//=====================================================================================
interface ODArbitrator : ODObject
{
ODBoolean RequestFocusSet(in ODFocusSet focusSet,
in ODFrame requestingFrame);
ODBoolean RequestFocus(in ODTypeToken focus,
in ODFrame requestingFrame);
void RelinquishFocusSet(in ODFocusSet focusSet,
in ODFrame relinquishingFrame);
void RelinquishFocus(in ODTypeToken focus,
in ODFrame relinquishingFrame);
void TransferFocus(in ODTypeToken focus,
in ODFrame transferringFrame,
in ODFrame newOwner);
void TransferFocusSet(in ODFocusSet focusSet,
in ODFrame transferringFrame,
in ODFrame newOwner);
ODFrame AcquireFocusOwner(in ODTypeToken focus);
ODFocusOwnerIterator CreateOwnerIterator(in ODTypeToken focus);
void RegisterFocus(in ODTypeToken focus,
in ODFocusModule focusModule);
void UnregisterFocus(in ODTypeToken focus);
ODBoolean IsFocusRegistered(in ODTypeToken focus);
ODBoolean IsFocusExclusive(in ODTypeToken focus);
ODFocusModule GetFocusModule(in ODTypeToken focus);
ODFocusSet CreateFocusSet();
#ifdef __SOMIDL__
implementation
{
majorversion = 1; minorversion = 0;
functionprefix = ODArbitrator;
override:
somUninit,
Purge;
releaseorder:
RequestFocusSet,
RequestFocus,
RelinquishFocusSet,
RelinquishFocus,
TransferFocus,
TransferFocusSet,
AcquireFocusOwner,
CreateOwnerIterator,
RegisterFocus,
UnregisterFocus,
IsFocusRegistered,
IsFocusExclusive,
GetFocusModule,
CreateFocusSet,
reserved1;
};
#endif //# __SOMIDL__
};
#endif //# _ARBITRAT_