home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
ODSessn.idl
< prev
next >
Wrap
Text File
|
1997-04-02
|
5KB
|
164 lines
//#====START_GENERATED_PROLOG======================================
//#
//#
//# COMPONENT_NAME: odcore
//#
//# 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========================================
//#
/* @(#) 1.14 com/src/core/idl/ODSessn.idl, odcore, od96os2, odos29712d 3/11/97 15:35:08 [3/21/97 17:18:13] */
//# Copyright: (r) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
#ifndef _ODSESSN_
#define _ODSESSN_
#ifndef _ODSESSNB_
#include "ODSessnB.idl"
#endif
//==============================================================================
// Classes used by this interface
//==============================================================================
interface ODPartHandlerRegistryInt;
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODSession;
#ifdef _PLATFORM_WIN32_
interface OpenDocShell;
interface ODHelp;
#endif
#ifdef _PLATFORM_OS2_
#pragma somemittypes on
typedef unsigned long ODPlatformWindowCreateOptions;
const ODPlatformWindowCreateOptions ODPlatformWindowDefaultCreateOptions = 0x0000783F;
// FCF_STANDARD & ~FCF_SHELLPOSITION & ~ FCF_ACCELTABLE
#pragma somemittypes off
interface ODPerWindowFocusModule;
interface ODStatusLineExtension;
interface IODLinkService;
interface ODHelp;
typedef somToken SWP;
typedef somToken TID;
#endif // _PLATFORM_OS2_
//==============================================================================
// ODSession
//==============================================================================
interface ODSession : ODBaseSession
{
#ifdef _PLATFORM_WIN32_
void InitSession(in OpenDocShell shell);
#else
void InitSession();
#endif
void GetUserName(out ODIText *name);
#ifdef _PLATFORM_OS2_ /******** strom@watson ********/
void InitAvailServerSession (
in string alias /* public name of this availability server */
); // Called in place of InitSession
IODLinkService GetLinkService(); // public method to get link service
#endif //_PLATFORM_OS2_
//#---------------------------------
//# Data Interchange
ODUpdateID UniqueUpdateID();
#ifdef _PLATFORM_OS2_ // JSO
//---------------------------------
// Virtual functions
ODPlatformWindow CreatePlatformWindow( in ODPlatformWindowCreateOptions options );
ODHelp GetHelp();
#endif // _PLATFORM_OS2_
ODPartHandlerRegistryInt GetRegistry();
#ifdef __SOMIDL__
implementation
{
majorversion = 1; minorversion = 0;
functionprefix = ODSession;
#ifdef _PLATFORM_WIN32_
#endif
#ifdef _PLATFORM_OS2_
passthru C_xih = " "
"#define INCL_ERRORS"
"#define INCL_WIN"
"#define INCL_DOS"
"#include <os2.h> ";
passthru C_xh = " "
"#define INCL_ERRORS"
"#define INCL_WIN"
"#define INCL_DOS"
"#include <os2.h> ";
passthru C_hh = " "
"#define INCL_ERRORS"
"#define INCL_WIN"
"#define INCL_DOS"
"#include <os2.h> ";
#endif // _PLATFORM_OS2_
override:
somUninit,
Purge;
releaseorder:
UniqueUpdateID,
GetUserName,
#ifdef _PLATFORM_OS2_ // CED
InitSession,
CreatePlatformWindow,
GetHelp,
InitAvailServerSession,
GetLinkService,
reserved1,
reserved2,
reserved3,
reserved4,
#else
InitSession,
#endif // _PLATFORM_OS2_
GetRegistry,
reserved5;
};
#endif
};
#endif // _ODSESSN_