home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
STDTYPES.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
7KB
|
122 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 _STDTYPES_
#define _STDTYPES_
#ifndef _ODTYPESB_
#include "ODTypesB.idl"
#endif
//==============================================================================
// Theory of Operation
//==============================================================================
/*
This file is used to store all the standard persistent types. It must
be compiled by the SOM compiler with -D EMIT_GLOBAL_CONSTANTS
*/
//==============================================================================
// Constants
//==============================================================================
#if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
#pragma somemittypes on
#endif
const ODValueType kODBoolean = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Boolean";
const ODValueType kODUShort = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:UShort";
const ODValueType kODSShort = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SShort";
const ODValueType kODULong = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ULong";
const ODValueType kODSLong = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:SLong";
const ODValueType kODISOStr = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStr";
const ODValueType kODISOStrList = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ISOStrList";
#ifdef _PLATFORM_MACINTOSH_
const ODValueType kODMacIText = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:IntlText";
#endif
#ifdef _PLATFORM_OS2_
const ODValueType kODOS2IText = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:OS2IText";
#endif
const ODValueType kODIntlText = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IntlText";
const ODValueType kODTime_T = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Time_T";
#ifdef _PLATFORM_OS2_
const ODValueType kODDate = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Date";
#endif
const ODValueType kODPoint = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Point";
const ODValueType kODRect = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Rect";
const ODValueType kODPolygon = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Polygon";
const ODValueType kODIconFamily = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily";
const ODValueType kODIconFamilyMac = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Macintosh";
const ODValueType kODIconFamilyWin = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:Windows";
const ODValueType kODIconFamilyOS2 = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:OS2";
const ODValueType kODIconFamilyAIX = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:IconFamily:AIX";
const ODValueType kODTransform = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Transform";
const ODValueType kODEditor = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:Editor";
const ODType kODStrongStorageUnitRef = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
const ODType kODWeakStorageUnitRef = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRef";
const ODType kODStrongStorageUnitRefs = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
const ODType kODWeakStorageUnitRefs = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:StorageUnitRefs";
const ODValueType kODLinkSpec = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:LinkSpec";
const ODValueType kODCloneKind = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:CloneKind";
const ODValueType kODObjectType = "+//ISO 9070/ANSI::113722::US::CI LABS::OpenDoc:Type:ObjectType";
#ifdef _PLATFORM_MACINTOSH_
const ODPropertyName kODTypeQuickDrawPageSetup = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:QuickDrawPageSetup";
const ODPropertyName kODTypeGXPageSetup = "+//ISO 9070/ANSI::113722::US::CI LABS::MacOS:Type:GXPageSetup";
#endif //_PLATFORM_MACINTOSH_
#ifdef _PLATFORM_OS2_
const ODValueType kODHashTable = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:HashTable"; /*watson*/
const ODValueType kODPartDescription = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:PartDescription";/*watson*/
const ODValueType kODPOINTL = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:POINTL";
const ODType kODFileType = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FileType";
const ODType kODFileTypeEA = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FileTypeEA";
const ODType kODDragitem = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:Dragitem";
const ODType kODDragOperation = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:DragOperation";
const ODType kODSelectedRMF = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:SelectedRMF";
const ODType kODSelectedKind = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:SelectedKind";
// standard types for IBM core parts (will be eventually replaced by CIL standard names
// kODRGB2 is a RGB2 structure
const ODType kODRGB2 = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:RGB2";
// kODFontNameSize is a string of the font size and name in the same format as OS/2 presparams
const ODType kODFontNameSize = "+//ISO 9070/ANSI::113722::US::CI LABS::OS2:Type:FontNameSize";
#endif
#if defined(__SOMIDL__) && defined(EMIT_GLOBAL_CONSTANTS)
#pragma somemittypes off
#endif
module OpenDoc_StdTypes
{
const string OpenDoc_StdTypes_Version = "1.0.";
};
#endif // _STDTYPES_