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

  1. //
  2. //   COMPONENT_NAME: some
  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. //#  @(#) somc/scparm.idl 2.8 12/26/95 16:24:07 [7/30/96 14:46:01]
  14.  
  15.  
  16. #ifndef scparm_idl
  17. #define scparm_idl
  18.  
  19. #include <sccommon.idl>
  20. enum somtParameterDirectionT {somtInE, somtOutE,somtInOutE};
  21. interface SOMTParameterEntryC : SOMTCommonEntryC
  22. {
  23.   readonly attribute somtParameterDirectionT somtParameterDirection;
  24.   // The direction for this parameter. (somtInE, somtOutE, or somtInOutE).
  25.  
  26.   readonly attribute string somtIDLParameterDeclaration;
  27.   // The IDL declaration of the parameter, including the type and name.
  28.  
  29.   readonly attribute string somtCParameterDeclaration;
  30.   // The declaration for the parameter within a C method procedure prototype.
  31.   // It includes the parameter's type and name.
  32.   // This may differ from the parameter's IDL declaration.
  33.   // In particular, pointer stars may be added.
  34.  
  35. #ifdef __SOMIDL__
  36.   implementation {
  37.     releaseorder: _get_somtParameterDirection, _get_somtCParameterDeclaration,
  38.         _get_somtIDLParameterDeclaration;
  39.   
  40.     passthru C_h = "typedef enum somtParameterDirectionT {somtInE,somtOutE,somtInOutE} somtParameterDirectionT;";
  41.     passthru C_xh = "typedef enum somtParameterDirectionT {somtInE,somtOutE,somtInOutE} somtParameterDirectionT;";
  42.  
  43.     //# Class Modifiers
  44.     majorversion = 2;
  45.     minorversion = 1;
  46.     filestem = scparm;
  47.     callstyle = oidl;
  48.   
  49.     //# Method Modifiers
  50.     somtSetSymbolsOnEntry: override;
  51.     somDumpSelfInt: override;
  52.   
  53.     //# Attribute modifiers
  54.     somtParameterDirection: nodata;
  55.     somtCParameterDeclaration: nodata;
  56.     somtIDLParameterDeclaration: nodata;
  57.   };
  58. #endif /* __SOMIDL__ */
  59. };
  60.  
  61.  
  62. #endif  /* scparm_idl */
  63.