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

  1. //
  2. //   COMPONENT_NAME: somi
  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. //  ModuleDef: CORBA Interface for module definitions
  15. //  See CORBA 7.5.3, p.133
  16.  
  17. #ifndef moduledf_idl
  18. #define moduledf_idl
  19.  
  20. #include <containd.idl>
  21. #include <containr.idl>
  22. #include <somcls.idl>
  23.  
  24. // CORBA 7.5.3, p.133
  25. interface ModuleDef : Contained , Container
  26. {
  27.     struct ModuleDescription {
  28.     Identifier   name;
  29.     RepositoryId id;
  30.     RepositoryId defined_in;
  31.     };
  32.     // The inherited describe method returns an instance of this
  33.     // (ModuleDescription) structure in the "value" member of the
  34.     // Description structure defined in the Contained interface.
  35.     // The inherited describe_contents method in the Container
  36.     // interface returns a sequence of these Description structures
  37.     // each carrying a reference to a ModuleDescription structure
  38.     // in its "value" member.
  39. #ifdef __SOMIDL__
  40.   implementation {
  41.  
  42.       callstyle = idl;
  43.       majorversion = 2;
  44.       minorversion = 1;
  45.       filestem = moduledf;
  46.  
  47.       passthru C_h =
  48.     ""
  49.     "    #include <somtcnst.h>"
  50.     "    #include <somir.h>"
  51.     "    #include <containd.h>"
  52.     "";
  53.       passthru C_xh =
  54.     ""
  55.     "    #include <somtcnst.xh>"
  56.     "    #include <somir.xh>"
  57.     "    #include <containd.xh>"
  58.     "";
  59.       passthru C_hh =
  60.     ""
  61.     "    #include <somtcnst.hh>"
  62.     "    #include <somir.hh>"
  63.     "    #include <containd.hh>"
  64.     "";
  65.  
  66.       within: override;
  67.       describe: override;
  68.       somInit: override;
  69.       somUninit: override;
  70.       somDumpSelf: override;
  71.       somDumpSelfInt: override;
  72.  
  73.   };
  74. #endif /* __SOMIDL__ */
  75. };
  76.  
  77.  
  78. #endif    /* moduledf_idl */
  79.