home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / scparm.idl < prev    next >
Text File  |  1996-12-24  |  2KB  |  66 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.9 5/9/96 15:31:20 [12/24/96 07:39:49]
  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. #ifdef _WIN32
  48.     dllname = "some.dll";
  49. #endif
  50.     callstyle = oidl;
  51.   
  52.     //# Method Modifiers
  53.     somtSetSymbolsOnEntry: override;
  54.     somDumpSelfInt: override;
  55.   
  56.     //# Attribute modifiers
  57.     somtParameterDirection: nodata;
  58.     somtCParameterDeclaration: nodata;
  59.     somtIDLParameterDeclaration: nodata;
  60.   };
  61. #endif /* __SOMIDL__ */
  62. };
  63.  
  64.  
  65. #endif  /* scparm_idl */
  66.