home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / sm.h < prev    next >
C/C++ Source or Header  |  1996-12-24  |  2KB  |  95 lines

  1. /*
  2.  *   COMPONENT_NAME: somc
  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. /* @(#) somc/sm.pub 2.8 7/27/95 16:12:28 [12/24/96 07:39:15] */
  14.  
  15.  
  16. /*
  17.  *         File:    emitlib.h.
  18.  *     Contents:    Basic types used by Emitter Framework.
  19.  */
  20.  
  21. #ifndef sm_h
  22. #define sm_h
  23.  
  24. #ifdef __SOMIDL__
  25. typedef void *Entry;
  26.  
  27. #else
  28. typedef void *Stab;
  29.  
  30. typedef enum SOMTTypes {
  31.     SOMTAnyBE,
  32.     SOMTArgumentE,
  33.     SOMTAttE,
  34.     SOMTBadEntryE,
  35.     SOMTBaseE,
  36.     SOMTBooleanBE,
  37.     SOMTCaseEntryE,
  38.     SOMTCaseListE,
  39.     SOMTCaseSTME,
  40.     SOMTCharBE,
  41.     SOMTClassE,
  42.     SOMTConstE,
  43.     SOMTCopyrightE,
  44.     SOMTDataE,
  45.     SOMTDclListE,
  46.     SOMTDefaultE,
  47.     SOMTDoubleBE,
  48.     SOMTEBaseE,
  49.     SOMTEEnumE,
  50.     SOMTEnumBE,
  51.     SOMTEnumE,
  52.     SOMTEnumPE,
  53.     SOMTFloatBE,
  54.     SOMTGroupE,
  55.     SOMTLongBE,
  56.     SOMTMetaE,
  57.     SOMTModuleE,
  58.     SOMTNegativeBE,
  59.     SOMTNewMethodE,
  60.     SOMTOctetBE,
  61.     SOMTOverriddenMethodE,
  62.     SOMTOverrideMethodE,
  63.     SOMTPassthruE,
  64.     SOMTSequenceE,
  65.     SOMTSequenceTDE,
  66.     SOMTShortBE,
  67.     SOMTStringBE,
  68.     SOMTStringE,
  69.     SOMTStructE,
  70.     SOMTStructPE,
  71.     SOMTStructSE,
  72.     SOMTTyDclE,
  73.     SOMTTypeCodeBE,
  74.     SOMTTypedefBE,
  75.     SOMTTypedefE,
  76.     SOMTUnionE,
  77.     SOMTUnionPE,
  78.     SOMTUnionSE,
  79.     SOMTUnsignedLongBE,
  80.     SOMTUnsignedShortBE,
  81.     SOMTVoidBE,
  82.     SOMTVoidPtrBE,
  83.     SOMTEmitterBeginE,
  84.     SOMTEmitterEndE,
  85.     SOMTGlobalOnlyE
  86. } SOMTTypes;
  87.  
  88. typedef struct Entry {
  89.     char *name;
  90.     SOMTTypes type;
  91. } Entry;
  92.  
  93. #endif /* __SOMIDL__ */
  94. #endif /* sm_h */
  95.