home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / OPEND_HH.ZIP / OD.HH < prev    next >
Text File  |  1995-06-01  |  14KB  |  540 lines

  1. /****************************** Module Header ******************************\
  2. *
  3. * Module Name: OD.H
  4. *
  5. * OpenDoc for OS/2 constants, types, functions and class definitions
  6. *
  7. * Copyright (c) International Business Machines Corporation 1994
  8. *    Modified 1995 by ODFrk team (M.Streble & A.Jolin)
  9. *
  10. * ===========================================================================
  11. *
  12. * The folowing symbols are used in this file for conditional sections.
  13. *
  14. *   #define:                      To include:
  15. *
  16. *   INCL_OD                       Include all OpenDoc classes
  17. *   INCL_ODOSA                    Include OpenDoc classes for OSA
  18. *   INCL_ODACTIVEFRAMEMENUBAR     ODActiveFrameMenuBar class definition   mcs 05/04/95
  19. *   INCL_ODARBITRATOR             ODArbitrator class definition
  20. *   INCL_ODCANVAS                 ODCanvas class definition
  21. *   INCL_ODCLIPBOARD              ODClipboard class definition
  22. *   INCL_ODCONTAINER              ODContainer class definition
  23. *   INCL_ODDISPATCHER             ODDispatcher class definition
  24. *   INCL_ODDISPATCHMODULE         ODDispatchModule class definition
  25. *   INCL_ODDOCUMENT               ODDocument class definition
  26. *   INCL_ODDRAFT                  ODDraft class definition
  27. *   INCL_ODDRAGANDDROP            ODDragAndDrop class definition and
  28.                                   ODDragItemIterator class definition
  29. *   INCL_ODEMBEDDEDFRAMESITERATOR ODEmbeddedFramesIterator class definition
  30. *   INCL_ODERRORS                 ODError definitions
  31. *   INCL_ODEXTENSION              ODExtension class definition
  32. *   INCL_ODFACET                  ODFacet class definition and
  33.                                   ODFacetIterator class definition and
  34.                                   ODFrameFacetIterator class definition
  35. *   INCL_ODFOCUSMODULE            ODFocusModule class definition
  36. *   INCL_ODFOCUSOWNERITERATOR     ODFocusOwnerIterator class definition
  37. *   INCL_ODFOCUSSET               ODFocusSet class definition and
  38. *   INCL_ODSELECTEDPARTEXTENSION  ODSelectedPartExtension
  39.                                   ODFocusSetIterator class definition
  40. *   INCL_ODFRAME                  ODFrame class definition
  41. *   INCL_ODLINK                   ODLink class definition
  42. *   INCL_ODLINKMANAGER            ODLinkManager class definition
  43. *   INCL_ODLINKSOURCE             ODLinkSource class definition
  44. *   INCL_ODLINKSPEC               ODLinkSpec class definition
  45. *   INCL_ODMENUBAR                ODMenuBar class definition
  46. *   INCL_ODMESSAGEINTERFACE       ODMessageInterface class definition
  47. *   INCL_ODNAMERESOLVER           ODNameResolver class definition
  48. *   INCL_ODNAMESPACE              ODNameSpace class definition
  49. *   INCL_ODNAMESPACEMANAGER       ODNameSpaceManager class definition
  50. *   INCL_ODNOTEBOOK               ODNotebook class definition
  51. *   INCL_ODOBJECT                 ODObject class definition
  52. *   INCL_ODPART                   ODPart class definition
  53. *   INCL_ODPARTHANDLERINFO        ODPartHandlerInfo class definition
  54. *   INCL_ODPARTHANDLERREGISTRY    ODPartHandlerRegistry class definition
  55. *   INCL_ODPERSISTENTOBJECT       ODPersistentObject class definition
  56. *   INCL_ODPLATFORMTYPELIST       ODPlatformTypeList class definition and
  57.                                   ODPlatformTypeListIterator class definition
  58. *   INCL_ODREGISTRYMANAGER        ODRegistryManager class definition
  59. *   INCL_ODREFCNTOBJECT           ODRefCntObject class definition
  60.  
  61. *   INCL_ODSEMANTICINTERFACE      ODSemtanticInterface class definition
  62. *   INCL_ODSESSION                ODSession class definition
  63. *   INCL_ODSHAPE                  ODShape class definition
  64. *   INCL_ODSTANDARDDISPATCHMODULE ODStandardDispatchModule class definition
  65. *   INCL_ODSTORAGESYSTEM          ODStorageSystem class definition
  66. *   INCL_ODSTORAGEUNIT            ODStorageUnit class definition and
  67.                                   ODStorageUnitCursor class definition and
  68.                                   ODStorageUnitIterator class definition
  69. *   INCL_ODSTORAGEUNITVIEW        ODStorageUnitView class definition
  70. *   INCL_ODTRANSFORM              ODTransform class definition
  71. *   INCL_ODTRANSLATION            ODTranslation class definition
  72. *   INCL_ODTYPELIST               ODTypeList class definition and
  73.                                   ODTypeListIterator class definition
  74. *   INCL_ODUNDO                   ODUndo class definition
  75. *   INCL_ODVALUENAMESPACE         ODValueNameSpace class definition
  76. *   INCL_ODWINDOW                 ODWindow class definition and
  77.                                   ODWindowIterator class definition
  78. *   INCL_ODWINDOWSTATE            ODWindowState class definition
  79. *
  80. \***************************************************************************/
  81.  
  82. /* NOINC */
  83. #ifdef __IBMC__
  84.    #pragma checkout( suspend )
  85.    #ifndef __CHKHDR__
  86.       #pragma checkout( suspend )
  87.    #endif
  88.    #pragma checkout( resume )
  89. #endif
  90. /* INC */
  91.  
  92. #ifndef OD_INCLUDED
  93. #define OD_INCLUDED
  94.  
  95. #ifdef INCL_OD /* include all OpenDoc classes */
  96.    #define INCL_ODACTIVEFRAMEMENUBAR        // mcs 05/04/95
  97.    #define INCL_ODARBITRATOR
  98.    #define INCL_ODCANVAS
  99.    #define INCL_ODCLIPBOARD
  100.    #define INCL_ODCONTAINER
  101.    #define INCL_ODDISPATCHER
  102.    #define INCL_ODDISPATCHMODULE
  103.    #define INCL_ODDOCUMENT
  104.    #define INCL_ODDRAFT
  105.    #define INCL_ODDRAGANDDROP
  106.    #define INCL_ODEMBEDDEDFRAMESITERATOR
  107.    #define INCL_ODERRORS
  108.    #define INCL_ODEXTENSION
  109.    #define INCL_ODFACET
  110.    #define INCL_ODFOCUSMODULE
  111.    #define INCL_ODFOCUSOWNERITERATOR
  112.    #define INCL_ODFOCUSSET
  113.    #define INCL_ODFRAME
  114.    #define INCL_ODLINK
  115.    #define INCL_ODLINKMANAGER
  116.    #define INCL_ODLINKSOURCE
  117.    #define INCL_ODLINKSPEC
  118.    #define INCL_ODMENUBAR
  119.    #define INCL_ODMESSAGEINTERFACE
  120.    #define INCL_ODNAMERESOLVER
  121.    #define INCL_ODNAMESPACE
  122.    #define INCL_ODNAMESPACEMANAGER
  123.    #define INCL_ODNOTEBOOK
  124.    #define INCL_ODOBJECT
  125.    #define INCL_ODPART
  126.    #define INCL_ODPARTHANDLERINFO
  127.    #define INCL_ODPARTHANDLERREGISTRY
  128.    #define INCL_ODPARTKIND
  129.    #define INCL_ODPERSISTENTOBJECT
  130.    #define INCL_ODPLATFORMTYPELIST
  131.    #define INCL_ODREGISTRYMANAGER
  132.    #define INCL_ODREFCNTOBJECT
  133.    #define INCL_ODSELECTEDPARTEXTENSION
  134.    #define INCL_ODSEMANTICINTERFACE
  135.    #define INCL_ODSESSION
  136.    #define INCL_ODSHAPE
  137.    #define INCL_ODSTANDARDDISPATCHMODULE
  138.    #define INCL_ODSTORAGESYSTEM
  139.    #define INCL_ODSTORAGEUNIT
  140.    #define INCL_ODSTORAGEUNITVIEW
  141.    #define INCL_ODTRANSFORM
  142.    #define INCL_ODTRANSLATION
  143.    #define INCL_ODTYPELIST
  144.    #define INCL_ODUNDO
  145.    #define INCL_ODVALUENAMESPACE
  146.    #define INCL_ODWINDOW
  147.    #define INCL_ODWINDOWSTATE
  148.   
  149.    #define INCL_ODxORDCOLL      //mcs & aj This is to add support for OD Collection Classes.
  150.                                 //    Later, test if this is needed anymore (by ODFrk)...
  151.  
  152. #endif /* INCL_OD */
  153.  
  154.  
  155. #ifdef INCL_ODOSA /* include OpenDoc classes for OSA */
  156.    #define INCL_ODMESSAGEINTERFACE
  157.    #define INCL_ODNAMERESOLVER
  158.    #define INCL_ODSEMANTICINTERFACE
  159. #endif /* INCL_OD */
  160.  
  161.  
  162. // include global constants and types
  163. #include <ODTYPES.HH>                      //aj: use odtypes.hh (modified odtypes.h)
  164.  
  165. // aj: These includes #ifdef-check themselves. Omit them to simplify hand-conversion
  166. //     from od.h next time.
  167. //#ifndef SOM_Module_StdDefs_OpenDoc_StdDefs_defined
  168. #include <STDDEFS.HH>
  169. //#endif
  170. //#ifndef SOM_Module_StdProps_OpenDoc_StdProps_defined
  171. #include <STDPROPS.HH>
  172. //#endif
  173. //#ifndef SOM_Module_StdTypes_OpenDoc_StdTypes_defined
  174. #include <STDTYPES.HH>
  175. //#endif
  176.  
  177. // mcs aj - added this ifdef/ifndef block, to make OD collections work
  178. //  Q: why, in DEVCON7, is ordcoll.h only in "public" samples dir?
  179. // mcs A: because this is not a toolkit class
  180. #ifdef INCL_ODxORDCOLL
  181. #ifndef _ORDCOLL_
  182. #include <ordcoll.h>
  183. #endif
  184. #endif
  185.  
  186. // mcs - added 05/04/95
  187. #ifdef INCL_ODACTIVEFRAMEMENUBAR
  188. #include <menubact.hh>
  189. #endif
  190.  
  191. #ifdef INCL_ODARBITRATOR
  192. //#ifndef SOM_ODArbitrator_xh
  193. #include <arbitrat.HH>
  194. //#endif
  195. #endif
  196.  
  197. #ifdef INCL_ODCANVAS
  198. //#ifndef SOM_ODCanvas_xh
  199. #include <canvas.HH>
  200. //#endif
  201. #endif
  202.  
  203. #ifdef INCL_ODCLIPBOARD
  204. //#ifndef SOM_ODClipboard_xh
  205. #include <clipbd.HH>
  206. //#endif
  207. #endif
  208.  
  209. #ifdef INCL_ODCONTAINER
  210. //#ifndef SOM_ODContainer_xh
  211. #include <odctr.HH>
  212. //#endif
  213. #endif
  214.  
  215. #ifdef INCL_ODDISPATCHER
  216. //#ifndef SOM_ODDispatcher_xh
  217. #include <disptch.HH>
  218. //#endif
  219. #endif
  220.  
  221. #ifdef INCL_ODDISPATCHMODULE
  222. //#ifndef SOM_ODDispatchModule_xh
  223. #include <dispmod.HH>
  224. //#endif
  225. #endif
  226.  
  227. #ifdef INCL_ODDOCUMENT
  228. //#ifndef SOM_ODDocument_xh
  229. #include <document.HH>
  230. //#endif
  231. #endif
  232.  
  233. #ifdef INCL_ODDRAFT
  234. //#ifndef SOM_ODDraft_xh
  235. #include <draft.HH>
  236. //#endif
  237. #endif
  238.  
  239. #ifdef INCL_ODDRAGANDDROP
  240. //#ifndef SOM_ODDragAndDrop_xh
  241. #include <dragdrp.HH>
  242. //#endif
  243. //#ifndef SOM_ODDragItemIterator_xh
  244. #include <dgitmit.HH>
  245. //#endif
  246. #endif
  247.  
  248. #ifdef INCL_ODEMBEDDEDFRAMESITERATOR
  249. //#ifndef SOM_ODEmbeddedFramesIterator_xh
  250. #include <embfritr.HH>
  251. //#endif
  252. #endif
  253.  
  254. #ifdef INCL_ODERRORS
  255. //#ifndef SOM_Module_ErrorDef_OpenDoc_Errors_defined
  256. #include <errordef.HH>
  257. //#endif
  258. #endif
  259.  
  260. #ifdef INCL_ODEXTENSION
  261. //#ifndef SOM_ODExtension_xh
  262. #include <extensn.HH>
  263. //#endif
  264. #endif
  265.  
  266. #ifdef INCL_ODFACET
  267. //#ifndef SOM_ODFacet_xh
  268. #include <facet.HH>
  269. //#endif
  270. //#ifndef SOM_ODFacetIterator_xh
  271. #include <facetitr.HH>
  272. //#endif
  273. //#ifndef SOM_ODFrameFacetIterator_xh
  274. #include <frfaitr.HH>
  275. //#endif
  276. #endif
  277.  
  278. #ifdef INCL_ODFOCUSMODULE
  279. //#ifndef SOM_ODFocusModule_xh
  280. #include <focusmod.HH>
  281. //#endif
  282. #endif
  283.  
  284. #ifdef INCL_ODFOCUSOWNERITERATOR
  285. //#ifndef SOM_ODFocusOwnerIterator_xh
  286. #include <focusown.HH>
  287. //#endif
  288. #endif
  289.  
  290. #ifdef INCL_ODFOCUSSET
  291. //#ifndef SOM_Module_Foci_OpenDoc_Foci_defined
  292. #include <foci.HH>
  293. //#endif
  294. //#ifndef SOM_ODFocusSet_xh
  295. #include <focusset.HH>
  296. //#endif
  297. //#ifndef SOM_ODFocusSetIterator_xh
  298. #include <focusitr.HH>
  299. //#endif
  300. #endif
  301.  
  302. #ifdef INCL_ODFRAME
  303. //#ifndef SOM_ODFrame_xh
  304. #include <frame.HH>
  305. //#endif
  306. #endif
  307.  
  308. #ifdef INCL_ODLINK
  309. //#ifndef SOM_ODLink_xh
  310. #include <link.HH>
  311. //#endif
  312. #endif
  313.  
  314. #ifdef INCL_ODLINKMANAGER
  315. //#ifndef SOM_ODLinkManager_xh
  316. #include <linkmgr.HH>
  317. //#endif
  318. #endif
  319.  
  320. #ifdef INCL_ODLINKSOURCE
  321. //#ifndef SOM_ODLinkSource_xh
  322. #include <linksrc.HH>
  323. //#endif
  324. #endif
  325.  
  326. #ifdef INCL_ODLINKSPEC
  327. //#ifndef SOM_ODLinkSpec_xh
  328. #include <linkspec.HH>
  329. //#endif
  330. #endif
  331.  
  332. #ifdef INCL_ODMENUBAR
  333. //#ifndef SOM_ODMenuBar_xh
  334. #include <menubar.HH>
  335. //#endif
  336. #endif
  337.  
  338. #ifdef NOT_107253
  339. #ifdef INCL_ODMESSAGEINTERFACE
  340. //#ifndef SOM_ODMessageInterface_xh
  341. #include <mssgintf.HH>
  342. //#endif
  343. #endif
  344.  
  345. #ifdef INCL_ODNAMERESOLVER
  346. //#ifndef SOM_ODNameResolver_xh
  347. #include <namrslvr.HH>
  348. //#endif
  349. #endif
  350. #endif
  351.  
  352. #ifdef INCL_ODNAMESPACE
  353. #ifndef SOM_ODNameSpace_xh
  354. #include <namspac.HH>
  355. #endif
  356. #endif
  357.  
  358. #ifdef INCL_ODNAMESPACEMANAGER
  359. //#ifndef SOM_ODNameSpaceManager_xh
  360. #include <nmspcmg.HH>
  361. //#endif
  362. #endif
  363.  
  364. // mcs 05/09/95:
  365. #ifdef INCL_ODNOTEBOOK
  366. #include <odnotebk.hh>
  367. #endif
  368.  
  369. #ifdef INCL_ODOBJECT
  370. //#ifndef SOM_ODObject_xh
  371. #include <odobject.HH>
  372. //#endif
  373. #endif
  374.  
  375. #ifdef INCL_ODPART
  376. //#ifndef SOM_ODPart_xh
  377. #include <part.HH>
  378. //#endif
  379. #endif
  380.  
  381. #ifdef INCL_ODPARTHANDLERINFO
  382. //#ifndef SOM_ODPartHandlerInfo_xh
  383. #include <partinfo.HH>
  384. //#endif
  385. #endif
  386.  
  387. #ifdef INCL_ODPARTHANDLERREGISTRY
  388. //#ifndef SOM_ODPartHandlerRegistry_xh
  389. #include <odprtreg.HH>
  390. //#endif
  391. #endif
  392.  
  393. #ifdef INCL_ODPLATFORMTYPELIST
  394. //#ifndef SOM_ODPlatformTypeList_xh
  395. #include <pftypls.HH>
  396. //#endif
  397. //#ifndef SOM_ODPlatformTypeListIterator_xh
  398. #include <pftlitr.HH>
  399. //#endif
  400. #endif
  401.  
  402. #ifdef INCL_ODPERSISTENTOBJECT
  403. //#ifndef SOM_ODPersistentObject_xh
  404. #include <pstobj.HH>
  405. //#endif
  406. #endif
  407.  
  408. #ifdef INCL_ODREGISTRYMANAGER
  409. //#ifndef SOM_RegistryManager_xh
  410. #include <rmanager.HH>
  411. //#endif
  412. #endif
  413.  
  414. #ifdef INCL_ODREFCNTOBJECT
  415. //#ifndef SOM_ODRefCntObject_xh
  416. #include <refctobj.HH>
  417. //#endif
  418. #endif
  419.  
  420. // mcs 06/01/95
  421. #ifdef INCL_ODSELECTEDPARTEXTENSION
  422. #include <selprtex.hh>
  423. #endif
  424.  
  425. #ifdef NOT_107253
  426. #ifdef INCL_ODSEMANTICINTERFACE
  427. //#ifndef SOM_ODSemanticInterface_xh
  428. #include <semtintf.HH>
  429. //#endif
  430. #endif
  431. #endif
  432.  
  433. #ifdef INCL_ODSESSION
  434. //#ifndef SOM_ODSession_xh
  435. #include <odsessn.HH>
  436. //#endif
  437. #endif
  438.  
  439. #ifdef INCL_ODSHAPE
  440. //#ifndef SOM_ODShape_xh
  441. #include <shape.HH>
  442. //#endif
  443. #endif
  444.  
  445. #ifdef INCL_ODSTANDARDDISPATCHMODULE
  446. //#ifndef SOM_ODStandardDispatchModule_xh
  447. #include <stddisp.HH>
  448. //#endif
  449. #endif
  450.  
  451. #ifdef INCL_ODSTORAGESYSTEM
  452. //#ifndef SOM_ODStorageSystem_xh
  453. #include <storage.HH>
  454. //#endif
  455. #endif
  456.  
  457. #ifdef INCL_ODSTORAGEUNIT
  458. //#ifndef SOM_ODStorageUnit_xh
  459. #include <storageu.HH>
  460. //#endif
  461. //#ifndef SOM_ODStorageUnitCursor_xh
  462. #include <sucursor.HH>
  463. //#endif
  464. //#ifndef SOM_ODStorageUnitRefIterator_xh
  465. #include <surefitr.HH>
  466. //#endif
  467. #endif
  468.  
  469. #ifdef INCL_ODSTORAGEUNITVIEW
  470. //#ifndef SOM_ODStorageUnitView_xh
  471. #include <suview.HH>
  472. //#endif
  473. #endif
  474.  
  475.  
  476. #ifdef INCL_ODTRANSFORM
  477. //#ifndef SOM_ODTransform_xh
  478. #include <trnsform.HH>
  479. //#endif
  480. #endif
  481.  
  482. #ifdef INCL_ODTRANSLATION
  483. //#ifndef SOM_ODTranslation_xh
  484. #include <translt.HH>
  485. //#endif
  486. #endif
  487.  
  488. #ifdef INCL_ODTYPELIST
  489. //#ifndef SOM_ODTypeList_xh
  490. #include <typelist.HH>
  491. //#endif
  492. //#ifndef SOM_ODTypeListIterator_xh
  493. #include <typlsitr.HH>
  494. //#endif
  495. #endif
  496.  
  497. #ifdef INCL_ODUNDO
  498. //#ifndef SOM_ODUndo_xh
  499. #include <undo.HH>
  500. //#endif
  501. #endif
  502.  
  503. #ifdef INCL_ODVALUENAMESPACE
  504. //#ifndef SOM_ODValueNameSpace_xh
  505. #include <valuens.HH>
  506. //#endif
  507. //#ifndef SOM_ODValueIterator_xh
  508. #include <valueitr.HH>
  509. //#endif
  510. #endif
  511.  
  512. #ifdef INCL_ODWINDOW
  513. //#ifndef SOM_ODWindow_xh
  514. #include <window.HH>
  515. //#endif
  516. //#ifndef SOM_ODWindowIterator_xh
  517. #include <winiter.HH>
  518. //#endif
  519. #endif
  520.  
  521. #ifdef INCL_ODWINDOWSTATE
  522. //#ifndef SOM_ODWindowState_xh
  523. #include <winstat.HH>
  524. //#endif
  525. #endif
  526.  
  527. #endif // OD_INCLUDED
  528.  
  529. /* NOINC */
  530. #ifdef __IBMC__
  531.    #pragma checkout( suspend )
  532.    #ifndef __CHKHDR__
  533.       #pragma checkout( resume )
  534.    #endif
  535.    #pragma checkout( resume )
  536. #endif
  537. /* INC */
  538.  
  539. /**************************** end of file **********************************/
  540.