home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
OSATERM.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
4KB
|
103 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. */
/* */
/* */
/********************************************************************/
#include <somobj.idl>
#ifndef _ODTYPESM_
#include <ODTypesM.idl>
#endif
#ifndef _OSATERM_
#define _OSATERM_
//=============================================================================
// Class defined in this interface
//=============================================================================
interface OSATerminology;
//==============================================================================
// Implementation Types
//==============================================================================
typedef somToken AEDesc;
typedef somToken AEDescList;
typedef somToken OSAError;
//=============================================================================
// Class OSATerminology
//=============================================================================
interface OSATerminology : SOMObject {
OSAError GetAEUT(out AEDesc ptheAEUT, in ODULong Reserved1, in ODULong Reserved2);
// returns the binary representation of an AETE constructed from the AEUT
OSAError GetSCSZFlags(in char *pszApp_ID, out ODULong pscszFlags);
// used to determine an apps scripting options
OSAError GetAETE(in char *pszApp_ID, in ODBoolean launchIfNeeded,
out AEDescList ptheAETEs, in ODULong Reserved1, in ODULong Reserved2);
// returns the binary representation of an AETE for an application
OSAError PutAETE(in char *pszApp_ID, in AEDesc *ptheAETE,
in ODULong Reserved1, in ODULong Reserved2);
// used to store the AETE resource for an application
OSAError PutSCSZFlags(in char *pszApp_ID, in ODULong scszFlags);
// used to store the SCSZ resource for an application
OSAError UnregisterApplication(in char *pszApp_ID);
// unregister application from being OSA-aware
OSAError RegisterApplication(in char *pszApp_ID, in char *pszApp_ExecutableName,
in ODULong AppType);
// register application as being OSA-aware
OSAError ListApplications(out char pszAppNames, inout ODULong psize, in ODULong AppType);
// list OSA-aware applications
OSAError QueryExecutableFileName(in char *pszApp_ID,
out char pszApp_ExecutableName,
inout ODULong psize);
// get application executable name
#ifdef __SOMIDL__
implementation {
majorversion = 1;
minorversion = 0;
functionprefix = OSATerm_;
releaseorder :
GetAEUT,
GetSCSZFlags,
GetAETE,
PutAETE,
PutSCSZFlags,
UnregisterApplication,
RegisterApplication,
ListApplications,
QueryExecutableFileName;
somDefaultInit: override, init;
somDestruct: override;
dllname = "OPENDOC.DLL";
};
#endif
};
#endif