home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / somtypes.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-01-24  |  1003 b   |  51 lines

  1. /*
  2.  *   COMPONENT_NAME: somk
  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. /* %Z% %I% %W% %G% %U% [%H% %T%] */
  14.  
  15. /*
  16.  */
  17.  
  18. /*
  19.  *    SOMTYPES.H
  20.  *    SOM types for C
  21.  *    Multiple Inheritance Version
  22.  */
  23. #ifndef somtypes_h
  24. #define somtypes_h
  25.  
  26. #include <stdarg.h>
  27.  
  28. /* SOM Base Types */
  29. #include <sombtype.h>
  30.  
  31. /*  -- Object Instance Structure */
  32. struct somMethodTabStruct;
  33. typedef struct SOMAny_struct {
  34.     struct somMethodTabStruct  *mtab;
  35.     integer4 body[1];
  36. } SOMAny;
  37.  
  38.  
  39. /* SOM Primitive Classes */
  40. /* primitive classes */
  41. #define SOMObject SOMAny
  42. #define SOMClass SOMAny
  43. #define SOMClassMgr SOMAny
  44.  
  45.  
  46. /* SOM Implementation Types */
  47. #include <somitype.h>
  48.  
  49.  
  50. #endif  /* somtypes_h */
  51.