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

  1. //------------------------------------------------------------------------
  2. // @(#)  /98 1.1 5/31/96 09:25:45 [12/24/96 08:25:11] 
  3. //
  4. // ModuleName:     omgidobj
  5. //
  6. // Description:    This IDL file defines the OMG
  7. //              CosObjectIdenity::IdentifiableObject interface as defined
  8. //        in the OMG Relationship Service Specification, OMG TC 
  9. //              Document 94.5.5 and is covered by the
  10. //        copyrights contained in that document.
  11. //
  12. // 25H7912  (C)  Copyright International Business Machines Corp. 1994,1996 
  13. // All Rights Reserved
  14. // Licensed Materials - Property of IBM
  15. //
  16. // US Government Users Restricted Rights - Use, duplication or disclosure
  17. // restricted by GSA ADP Schedule Contract with IBM Corp.
  18. //------------------------------------------------------------------------
  19.  
  20. #ifndef COSIDENTITY_IDL
  21. #define COSIDENTITY_IDL
  22.  
  23. #include <somobj.idl>
  24.  
  25. module CosObjectIdentity {
  26.  
  27. //#-----------------------------------------------
  28. //# Forward Declares for Interfaces
  29. //#-----------------------------------------------
  30.     interface IdentifiableObject;
  31.  
  32. //#-----------------------------------------------
  33. //# Typedefs
  34. //#-----------------------------------------------
  35.     typedef unsigned long ObjectIdentifier;
  36.  
  37. //#-----------------------------------------------
  38. //# IdentifiableObject interface 
  39. //#-----------------------------------------------
  40.     interface IdentifiableObject  : SOMObject
  41.     {
  42.  
  43.     readonly attribute ObjectIdentifier constant_random_id;
  44.  
  45.     boolean is_identical (
  46.           in IdentifiableObject other_object);
  47.  
  48.         #ifdef __SOMIDL__
  49.     implementation 
  50.         {
  51.         dllname          = "somabs1.dll";
  52.         majorversion     = 3;
  53.         minorversion     = 0;
  54.         memory_management= corba;
  55.         somDefaultInit:  override, init;
  56.         somDestruct:     override;
  57.  
  58.         releaseorder: _get_constant_random_id,
  59.                           _set_constant_random_id,
  60.               is_identical;
  61.               
  62.             constant_random_id: nodata;
  63.     };
  64.  
  65.       #endif 
  66.  
  67.     };
  68.  
  69. }; 
  70.  
  71. #endif 
  72.  
  73.