home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / moduledf.idl < prev    next >
Text File  |  1996-12-24  |  2KB  |  78 lines

  1. //#
  2. //#  COMPONENT_NAME: somi
  3. //#
  4. //#  ORIGINS: 27
  5. //#
  6. //#
  7. //#    25H7912  (C)   COPYRIGHT International Business Machines Corp. 1992,1994,1996,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. //#  @(#) 2.9.1.3 src/somi/ir/somir/moduledf.idl, somi.corba, som3.0 1/3/96 14:29:33 [12/24/96 07:40:09]
  14.  
  15.  
  16. //#  ModuleDef: CORBA Interface for module definitions
  17. //#  See CORBA 1.1, 7.5.3, p.133
  18.  
  19. #ifndef moduledf_idl
  20. #define moduledf_idl
  21.  
  22. #include <containd.idl>
  23. #include <containr.idl>
  24. #include <somcls.idl>
  25.  
  26. interface ModuleDef : Contained , Container
  27. // This interface is used to access information associated with
  28. // modules defined in an IDL file.
  29. //
  30. // See CORBA 1.1, 7.5.3, p.133
  31. {
  32.     struct ModuleDescription {
  33.     Identifier   name;
  34.     RepositoryId id;
  35.     RepositoryId defined_in;
  36.     };
  37.     // The inherited describe method returns an instance of this
  38.     // (ModuleDescription) structure in the "value" member of the
  39.     // Description structure defined in the Contained interface.
  40.     // The inherited describe_contents method in the Container
  41.     // interface returns a sequence of these Description structures
  42.     // each carrying a reference to a ModuleDescription structure
  43.     // in its "value" member.
  44. #ifdef __SOMIDL__
  45.   implementation {
  46.       //# Class Modifiers
  47.       callstyle = idl;
  48.       majorversion = 2;
  49.       minorversion = 3;
  50.       filestem = moduledf;
  51.  
  52.       passthru C_h =
  53.     ""
  54.     "    #include <somtcnst.h>"
  55.     "    #include <somir.h>"
  56.     "    #include <containd.h>"
  57.     "";
  58.       passthru C_xh =
  59.     ""
  60.     "    #include <somtcnst.xh>"
  61.     "    #include <somir.xh>"
  62.     "    #include <containd.xh>"
  63.     "";
  64.  
  65.       //# Method Modifiers
  66.       within: override;
  67.       describe: override;
  68.       somDefaultInit: override;
  69.       somDestruct: override;
  70.       somDumpSelf: override;
  71.       somDumpSelfInt: override;
  72.  
  73.   };
  74. #endif /* __SOMIDL__ */
  75. };
  76.  
  77. #endif    /* moduledf_idl */
  78.