home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / somdtype.idl < prev    next >
Text File  |  1999-02-22  |  2KB  |  73 lines

  1. //
  2. //   COMPONENT_NAME: somd
  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. //#  @(#) 2.13 src/somd/somdtype.idl, somd, som2.1 2/15/95 13:27:30 [7/30/96 14:45:50]
  14.  
  15.  
  16.  
  17.  
  18. //
  19. //  somdtype.idl - global DSOM type definitions
  20. // 
  21.  
  22.  
  23. #ifndef somdtype_idl
  24. #define somdtype_idl
  25. #include <containd.idl>                                    //d5959
  26.  
  27. //# Global IDL typedefs used by DSOM (defined in other .h files)
  28.  
  29. // typedef string RepositoryId;                              d5959
  30.  
  31. //typedef string Identifier;                                 d5959
  32.  
  33. // exception definitions                // in somcorba.h
  34. enum completion_status { YES, NO, MAYBE };
  35.  
  36.  
  37. //# Global IDL types defined by DSOM
  38. //#
  39. //# (When EMIT_SOMDTYPES is defined, the following types will be emitted in
  40. //# language-specific include files, e.g., "somdtype.h", "somdtype.xh")
  41.  
  42. #ifdef EMIT_SOMDTYPES
  43. #pragma somemittypes on
  44. #endif
  45.  
  46.  typedef unsigned long ORBStatus;
  47.  
  48.  typedef sequence <octet,1024> ReferenceData;
  49.  
  50.  typedef unsigned long Flags;
  51.  
  52.  struct NamedValue {    
  53.     Identifier name;
  54.     any        argument;
  55.     long       len;
  56.     Flags      arg_modes;
  57.  };
  58.  
  59.  typedef string ImplId;
  60.  
  61. #ifdef EMIT_SOMDTYPES
  62. #pragma somemittypes off
  63. #endif
  64.  
  65.  
  66.  
  67.  
  68. module SOMD { 
  69.   const string SOMDVersion = "2.1";
  70. };
  71.  
  72. #endif /* somdtype_idl */
  73.