home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / scparm.idl < prev    next >
Encoding:
Text File  |  1996-02-21  |  1.9 KB  |  58 lines

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