home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / som.hs < prev    next >
Text File  |  1996-12-24  |  1KB  |  58 lines

  1. /* @(#) 1.3 src/somk/som.h, somk.api, som3.0 3/12/96 19:52:03 [12/24/96 07:40:16] */
  2.  
  3. /*
  4.  * 96F8647, 96F8648, 96F8850 (C) Copyright IBM Corp. 1992, 1994
  5.  * All Rights Reserved
  6.  * Licensed Materials - Property of IBM
  7.  */
  8.  
  9. /*
  10.  *    SOM.H
  11.  *
  12.  *    First level include file for System Object Model
  13.  *    Multiple Inheritance Version
  14.  */
  15.  
  16. #ifndef som_h
  17. #define som_h
  18.  
  19. #include <somnames.h>
  20. #include <somplatf.h>
  21. #include <somtypes.h>
  22. #include <somcdev.h>
  23. #include <somcorba.h>
  24. #include <somapi.h>
  25.  
  26. /*
  27.  * C usage bindings for the primitive classes are responsible
  28.  * for indicating the coding style they support (i.e., original vs.
  29.  * CORBA style) by #defining SOM_STRICT_IDL if the CORBA style of
  30.  * usage bindings is desired. Thus, when this file (som.h) is
  31.  * included by C usage bindings, the following #ifdef provides
  32.  * definitions for the primitive classes appropriate to the
  33.  * usage bindings.
  34.  */
  35.  
  36. #ifdef SOM_STRICT_IDL
  37.  
  38.    #undef SOMObject
  39.    #undef SOMClass
  40.    #undef SOMClassMgr
  41.  
  42.    typedef SOMAny *SOMAnyStrict;
  43.  
  44.    #define SOMObject SOMAnyStrict
  45.    #define SOMClass SOMAnyStrict
  46.    #define SOMClassMgr SOMAnyStrict
  47.  
  48. #endif
  49.  
  50. #ifndef SOM_NO_OBJECTS
  51.    #define SOMObject_VA_EXTERN
  52.    #include <somobj.h>
  53.    #include <somcls.h>
  54.    #include <somcm.h>
  55. #endif /* !SOM_NO_OBJECTS */
  56.  
  57. #endif /* som_h */
  58.