home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somd.xh < prev    next >
Text File  |  1999-02-22  |  3KB  |  95 lines

  1. /*
  2.  *   COMPONENT_NAME: somd
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *   10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
  8.  *   All Rights Reserved
  9.  *   Licensed Materials - Property of IBM
  10.  *   US Government Users Restricted Rights - Use, duplication or
  11.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  */
  13. /* @(#) 2.8 src/somd/somd.xh, somd, som2.1 9/1/94 16:55:05 [7/30/96 14:45:41] */
  14.  
  15. /*
  16.  */
  17.  
  18.  
  19. /*
  20.  *  somd.xh - global C++ include file for DSOM definitions
  21.  */
  22.  
  23. #ifndef somd_xh
  24. #define somd_xh
  25. #define somd_h
  26.  
  27. /*  --- base SOM and DSOM types ---  */
  28.  
  29. #define CORBA_FUNCTION_NAMES
  30. #include <som.xh>
  31. #include <somtcnst.xh>
  32. #include <somir.xh>
  33.  
  34. #include <somdtype.xh>
  35.  
  36. /*  --- DSOM error codes ---  */
  37.  
  38. #include <somderr.h>
  39.  
  40. /*  --- DSOM externals ---  */
  41.  
  42. #include <somdext.h>
  43.  
  44. /* For DSOM users, CORBA's exception_free should be mapped to 
  45.  * somdExceptionFree rather than somExceptionFree, as in somcorba.h.
  46.  */
  47. #ifdef exception_free
  48.  #undef exception_free
  49. #endif
  50. #define exception_free somdExceptionFree
  51.  
  52. #ifndef OBJECT_NIL
  53. #define OBJECT_NIL ((SOMObject *) NULL)
  54. #endif
  55.  
  56. /*  --- DSOM global variables ---
  57.  *
  58.  *  Several global variables point to DSOM objects that are always or often
  59.  *  used by DSOM applications.
  60.  *
  61.  *  SOMD_ObjectMgr, SOMD_ORBObject, and SOMD_ImplRepObject are initialized
  62.  *  by SOMD_Init().
  63.  *  
  64.  *  SOMD_ImplDefObject is initially NULL.   DSOM servers *MUST* set this to
  65.  *  an ImplementationDef object which describes the server implementation.
  66.  *  DSOM clients *MUST* leave this variable NULL.
  67.  *
  68.  *  SOMD_SOMOAObject is initially NULL.  DSOM servers should use the SOM
  69.  *  Object Adapter can use this variable to refer to the instantiated SOMOA.
  70.  *  It is not used by client processes.
  71.  *
  72.  *  The external references to these global variables are defined in the
  73.  *  .xh files for their respective classes.
  74.  */
  75.  
  76. #include <somdom.xh>        /* SOMD_ObjectMgr (incl. Factory) */
  77. #include <orb.xh>        /* SOMD_ORBObject */
  78. #include <implrep.xh>        /* SOMD_ImplRepObject */
  79. #include <impldef.xh>        /* SOMD_ImplDefObject */
  80. #include <somoa.xh>        /* SOMD_SOMOAObject */
  81.  
  82. /*  --- DSOM interfaces ---
  83.  *
  84.  *  Include the interfaces for other commonly used DSOM classes.
  85.  */
  86.  
  87. #include <somdobj.xh>        /* SOMDObject */
  88. #include <somdcprx.xh>        /* SOMDClientProxy */
  89. #include <cntxt.xh>        /* Context */
  90. #include <nvlist.xh>        /* NVList */
  91. #include <request.xh>        /* Request */
  92. #include <stexcep.xh>        /* standard exceptions */
  93.  
  94. #endif /* somd_xh */
  95.