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

  1. /*
  2.  *   COMPONENT_NAME: somk
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  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.7.1.1 src/somk/som.h, somk.api, som2.1 12/26/95 16:44:31 [7/30/96 14:46:34] */
  14.  
  15. /*
  16.  */
  17.  
  18. /*
  19.  *    SOM.H
  20.  *    First level include file for System Object Model
  21.  *    Multiple Inheritance Version
  22.  */
  23.  
  24. #ifndef som_h
  25. #define som_h
  26.  
  27. #include <somnames.h>
  28. #include <somltype.h>
  29. #include <somtypes.h>
  30. #include <somcdev.h>
  31. #include <somcorba.h>
  32. #include <somapi.h>
  33.  
  34. /*
  35.  * C usage bindings for the primitive classes are responsible
  36.  * for indicating the coding style they support (i.e., original vs.
  37.  * CORBA style) by #defining SOM_STRICT_IDL if the CORBA style of
  38.  * usage bindings is desired. Thus, when this file (som.h) is 
  39.  * included by C usage bindings, the following #ifdef provides
  40.  * definitions for the primitive classes appropriate to the
  41.  * usage bindings.
  42.  */
  43.  
  44. #ifdef SOM_STRICT_IDL
  45.  
  46.    #undef SOMObject
  47.    #undef SOMClass
  48.    #undef SOMClassMgr
  49.  
  50.    typedef SOMAny *SOMAnyStrict;
  51.  
  52.    #define SOMObject SOMAnyStrict
  53.    #define SOMClass SOMAnyStrict
  54.    #define SOMClassMgr SOMAnyStrict
  55.  
  56. #endif
  57.  
  58. #ifndef SOM_NO_OBJECTS
  59.    #define SOMObject_VA_EXTERN
  60.    #include <somobj.h>
  61.    #include <somcls.h>
  62.    #include <somcm.h>
  63. #endif /* !SOM_NO_OBJECTS */
  64.  
  65. #endif /* som_h */
  66.