home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
TRANSLTB.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
3KB
|
81 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 _TRANSLTB_
#define _TRANSLTB_
#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif
//=====================================================================================
// Classes defined in this interface
//=====================================================================================
interface ODBaseTranslation;
//=====================================================================================
// Classes used by this interface
//=====================================================================================
interface ODTypeList;
interface ODStorageUnitView;
interface ODSession;
//=====================================================================================
// Class ODBaseTranslation
//=====================================================================================
interface ODBaseTranslation : ODObject
{
ODTranslateResult CanTranslate(in ODValueType fromType);
ODTypeList GetTranslationOf(in ODValueType fromType);
ODTranslateResult TranslateView(in ODStorageUnitView fromView,
in ODStorageUnitView toView);
ODTranslateResult Translate(in ODValueType fromType,
in ODByteArray fromData,
in ODValueType toType,
out ODByteArray toData);
ODValueType GetISOTypeFromPlatformType(in ODPlatformType platformType,
in ODPlatformTypeSpace typeSpace);
ODPlatformType GetPlatformTypeFromISOType(in ODValueType type);
#ifdef __SOMIDL__
implementation
{
functionprefix = ODBaseTranslation;
override:
Purge,
somInit,
somUninit;
releaseorder:
reserved1,
CanTranslate,
GetTranslationOf,
TranslateView,
Translate,
GetISOTypeFromPlatformType,
GetPlatformTypeFromISOType;
};
#endif
};
#endif // _TRANSLTB_