home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / ODTYPESM.XH < prev    next >
Text File  |  1997-02-28  |  4KB  |  222 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: F:\build\os2\ship\include\ODTypesM.xh.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.29.1.17
  7.  *     SOM Emitter emitxh: 2.47
  8.  */
  9.  
  10. #ifndef SOM_Module_ODTypesM_OpenDoc_Global_Types_defined
  11. #define SOM_Module_ODTypesM_OpenDoc_Global_Types_defined 1
  12. #include <som.xh>
  13.  
  14. /*
  15.  * Start of bindings for IDL types
  16.  */
  17.  
  18. typedef
  19. long  ODITextFormat;
  20.  
  21. typedef
  22. struct ODIText {
  23. ODITextFormat format;
  24. ODByteArray text;
  25. } ODIText;
  26.  
  27. typedef
  28. struct ODIText ODName;
  29.  
  30. typedef
  31. ODName ODContainerName;
  32.  
  33. typedef
  34. ODName ODDocumentName;
  35.  
  36. typedef
  37. ODHandle ODIconFamily;
  38.  
  39. typedef
  40. ODULong ODEventType;
  41.  
  42. typedef
  43. struct tagEVENTRECORD {
  44. HWND hwnd;
  45. ULONG msg;
  46. MPARAM mp1;
  47. MPARAM mp2;
  48. MRESULT result;
  49. } tagEVENTRECORD, EventRecord;
  50.  
  51. typedef
  52. EventRecord ODEventData;
  53.  
  54. class ODFrame;
  55. class ODFacet;
  56. class ODPlatformCanvas;
  57. typedef
  58. struct ODEventInfo {
  59. ODFrame* embeddedFrame;
  60. ODFacet* embeddedFacet;
  61. struct ODPoint where;
  62. ODULong flags;
  63. ODEventType originalType;
  64. } ODEventInfo;
  65.  
  66. #define OD_PRINT 1169 /* 0x00000491 */
  67. #define OD_HELP 1170 /* 0x00000492 */
  68. #define kODPropagated 1 /* 1 */
  69. #define kODInBorder 2 /* 2 */
  70. #define kODInEmbedded 3 /* 3 */
  71. typedef
  72. ODULong ODIdleFrequency;
  73.  
  74. typedef
  75. ODSLong ODTime;
  76.  
  77. #define HLPM_ODMENU 1 /* 1 */
  78. #define HLPM_ODWINDOW 2 /* 2 */
  79. typedef
  80. ODSShort ODMenuID;
  81.  
  82. typedef
  83. ODSShort ODMenuItemID;
  84.  
  85. typedef
  86. ODSLong ODCommandID;
  87.  
  88. typedef
  89. struct ODPlatformMenuItem {
  90. short  iPosition;
  91. unsigned short  afStyle;
  92. unsigned short  afAttribute;
  93. unsigned short  id;
  94. unsigned long  hwndSubMenu;
  95. unsigned long  hItem;
  96. } ODPlatformMenuItem;
  97.  
  98. typedef
  99. struct NewSubMenu {
  100. ODUShort Position;
  101. ODUShort MenuId;
  102. char  SubMenuString[40];
  103. char  hasSubMenu;
  104. } NewSubMenu;
  105.  
  106. typedef
  107. struct NewMenu {
  108. ODUShort Position;
  109. ODUShort MenuId;
  110. char  MenuString[40];
  111. short  nSubMenuCount;
  112. struct NewSubMenu newsubmenu[20];
  113. } NewMenu;
  114.  
  115. typedef
  116. ODISOStr ODEditor;
  117.  
  118. typedef
  119. ODISOStr ODContainerSuite;
  120.  
  121. typedef
  122. ODULong ODUpdateID;
  123.  
  124. typedef
  125. ODULong ODDraftKey;
  126.  
  127. typedef
  128. ODBoolean ODDragResult;
  129.  
  130. typedef
  131. struct ODIText ODLinkDescription;
  132.  
  133. typedef
  134. struct ODLinkConnectionData {
  135. ODLinkDescription LinkDesc;
  136. struct ODIText DocumentName;
  137. struct ODIText HostName;
  138. } ODLinkConnectionData;
  139.  
  140. typedef
  141. struct ODMoveCopyResult {
  142. char * fOldDocPathName;
  143. char * fNewDocPathName;
  144. ODBoolean FileMoved;
  145. ODBoolean FileCopied;
  146. } ODMoveCopyResult;
  147.  
  148. typedef
  149. ODULong ODLinkUpdateResult;
  150.  
  151. typedef
  152. ODULong ODPasteAsMergeSetting;
  153.  
  154. typedef
  155. struct ODLinkInfo {
  156. ODType kind;
  157. ODTime creationTime;
  158. ODTime changeTime;
  159. ODUpdateID change;
  160. ODBoolean autoUpdate;
  161. } ODLinkInfo;
  162.  
  163. typedef
  164. struct ODPasteAsResult {
  165. ODBoolean pasteLinkSetting;
  166. ODBoolean autoUpdateSetting;
  167. ODBoolean mergeSetting;
  168. ODTypeToken selectedView;
  169. ODType selectedKind;
  170. ODType translateKind;
  171. ODEditor editor;
  172. } ODPasteAsResult;
  173.  
  174. typedef unsigned long ODLinkInfoAction;
  175. #define kODLinkInfoCancel 1UL
  176. #define kODLinkInfoOk 2UL
  177. #define kODLinkInfoBreakLink 3UL
  178. #define kODLinkInfoUpdateNow 4UL
  179. #define kODLinkInfoFindSource 5UL
  180. typedef
  181. struct ODLinkInfoResult {
  182. ODLinkInfoAction action;
  183. ODBoolean autoUpdate;
  184. } ODLinkInfoResult;
  185.  
  186. typedef unsigned long OperatingSystem;
  187. #define OS2 1UL
  188. #define AIX 2UL
  189. #define MAC 3UL
  190. #define WINDOWS 4UL
  191. typedef
  192. char * ISOString;
  193.  
  194. typedef
  195. struct PartKindInfo {
  196. ISOString partKindName;
  197. string  partKindDisplayName;
  198. string  filenameFilters;
  199. string  filenameTypes;
  200. string  categories;
  201. string  categoryDisplayName;
  202. string  objectID;
  203. } PartKindInfo;
  204.  
  205. #define OpenDoc_Global_Types_OpenDoc_Types_Version "1.0."
  206.  
  207. #ifndef SOM_DONT_USE_SHORT_NAMES
  208. #ifndef SOMTGD_OpenDoc_Types_Version
  209.     #ifdef OpenDoc_Types_Version
  210.         #undef OpenDoc_Types_Version
  211.         #define SOMTGD_OpenDoc_Types_Version 1
  212.     #else
  213.         #define OpenDoc_Types_Version OpenDoc_Global_Types_OpenDoc_Types_Version
  214.     #endif /* OpenDoc_Types_Version */
  215. #endif /* SOMTGD_OpenDoc_Types_Version */
  216. #endif /* SOM_DONT_USE_SHORT_NAMES */
  217.  
  218. /*
  219.  * End of bindings for IDL types.
  220.  */
  221. #endif /* SOM_Module_ODTypesM_OpenDoc_Global_Types_defined */
  222.