
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\BUILD\NT\ship\include\ODTypesM.xh.
 * Generated using:
 *     SOM Precompiler somipc: Development
 *     SOM Emitter emitxh.dll: Development
 */

#ifndef SOM_Module_F3a5cBUILD5cNT5cship5cinclude5cODTypesM_OpenDoc_Global_Types_defined
#define SOM_Module_F3a5cBUILD5cNT5cship5cinclude5cODTypesM_OpenDoc_Global_Types_defined 1
#include <som.xh>

/*
 * Start of user-defined types:
 */
typedef
long  ODITextFormat;
typedef
struct ODIText {
ODITextFormat format;
ODByteArray text;
} ODIText;
typedef
struct ODIText ODName;
typedef
ODName ODContainerName;
typedef
ODName ODDocumentName;
typedef
ODHandle ODIconFamily;
typedef
ODULong ODEventType;
typedef
struct tagEVENTRECORD {
void*  hwnd;
unsigned long  message;
unsigned long  wParam;
unsigned long  lParam;
unsigned long  time;
Point pt;
} tagEVENTRECORD, EventRecord;
typedef
EventRecord ODEventData;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
typedef
struct ODEventInfo {
ODFrame* embeddedFrame;
ODFacet* embeddedFacet;
struct ODPoint where;
ODBoolean propagated;
ODEventType originalType;
} ODEventInfo;
typedef
ODULong ODIdleFrequency;
typedef
ODSLong ODTime;
#define HLPM_ODMENU 1 /* 1 */
#define HLPM_ODWINDOW 2 /* 2 */
typedef
ODSShort ODMenuID;
typedef
ODSShort ODMenuItemID;
typedef
ODSLong ODCommandID;
typedef
void*  HMENU;
typedef
struct ODMenuIDInfo {
HMENU hMenu;
ODMenuID id;
ODUShort reserved;
} ODMenuIDInfo;
typedef
struct ODPlatformMenuItem {
short  iPosition;
unsigned short  afStyle;
unsigned short  afAttribute;
unsigned short  id;
unsigned long  hwndSubMenu;
unsigned long  hItem;
} ODPlatformMenuItem;
typedef
struct NewSubMenu {
ODUShort Position;
ODUShort MenuId;
char  SubMenuString[40];
char  hasSubMenu;
} NewSubMenu;
typedef
struct NewMenu {
ODUShort Position;
ODUShort MenuId;
char  MenuString[40];
short  nSubMenuCount;
struct NewSubMenu newsubmenu[20];
} NewMenu;
typedef
ODISOStr ODEditor;
typedef
ODISOStr ODContainerSuite;
typedef
ODULong ODUpdateID;
typedef
ODULong ODDraftKey;
typedef
ODBoolean ODDragResult;
typedef
ODULong ODLinkUpdateResult;
typedef
ODULong ODPasteAsMergeSetting;
typedef
struct ODLinkInfo {
ODType kind;
ODTime creationTime;
ODTime changeTime;
ODUpdateID change;
ODBoolean autoUpdate;
} ODLinkInfo;
typedef
struct ODPasteAsResult {
ODBoolean pasteLinkSetting;
ODBoolean autoUpdateSetting;
ODBoolean mergeSetting;
ODTypeToken selectedView;
ODType selectedKind;
ODType translateKind;
ODEditor editor;
} ODPasteAsResult;
typedef unsigned long ODLinkInfoAction;
#define kODLinkInfoCancel 1UL
#define kODLinkInfoOk 2UL
#define kODLinkInfoBreakLink 3UL
#define kODLinkInfoUpdateNow 4UL
#define kODLinkInfoFindSource 5UL
typedef
struct ODLinkInfoResult {
ODLinkInfoAction action;
ODBoolean autoUpdate;
} ODLinkInfoResult;
#define kODUnknownChange 0 /* 0 */
typedef unsigned long OperatingSystem;
#define OS2 1UL
#define AIX 2UL
#define MAC 3UL
#define WINDOWS 4UL
typedef
char * ISOString;
typedef
struct PartKindInfo {
ISOString partKindName;
string  partKindDisplayName;
string  filenameFilters;
string  filenameTypes;
string  categories;
string  categoryDisplayName;
string  objectID;
} PartKindInfo;
#define OpenDoc_Global_Types_OpenDoc_Types_Version "1.0."

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_OpenDoc_Types_Version
    #ifdef OpenDoc_Types_Version
        #undef OpenDoc_Types_Version
        #define SOMTGD_OpenDoc_Types_Version 1
    #else
        #define OpenDoc_Types_Version OpenDoc_Global_Types_OpenDoc_Types_Version
    #endif /* OpenDoc_Types_Version */
#endif /* SOMTGD_OpenDoc_Types_Version */
#endif /* SOM_DONT_USE_SHORT_NAMES */

/*
 * End of user-defined types.
 */
#endif /* SOM_Module_F3a5cBUILD5cNT5cship5cinclude5cODTypesM_OpenDoc_Global_Types_defined */
