home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / ODBINDNG.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  68 lines

  1. /********************************************************************/
  2. /*  Licensed Materials - Property of IBM                            */
  3. /*                                                                  */
  4. /*                                                                  */
  5. /* Copyright (C) International Business Machines Corp., 1994.       */
  6. /* Copyright (C) Apple Computer, Inc., 1994                         */
  7. /*                                                                  */
  8. /*  US Government Users Restricted Rights -                         */
  9. /*  Use, duplication, or disclosure restricted                      */
  10. /*  by GSA ADP Schedule Contract with IBM Corp.                     */
  11. /*                                                                  */
  12. /*                                                                  */
  13. /********************************************************************/
  14.  
  15.  
  16. #ifndef _ODBINDNG_
  17. #define _ODBINDNG_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //=====================================================================================
  24. // Classes defined in this interface
  25. //=====================================================================================
  26. interface ODBinding;
  27.  
  28. //=====================================================================================
  29. // Classes used by this interface
  30. //=====================================================================================
  31. interface ODSession;
  32. interface ODStorageUnit;
  33. interface ODPart;
  34.  
  35.  
  36. //=====================================================================================
  37. // ODBinding
  38. //=====================================================================================
  39.  
  40. interface ODBinding : ODObject
  41. {
  42.   ODEditor ChooseEditorForPart(in ODStorageUnit thePartSU, in ODType newKind );
  43.   ODContainerSuite GetContainerSuite(in ODContainerType containerType);
  44.  
  45. #ifdef __SOMIDL__
  46.   implementation
  47.   {
  48.     functionprefix = ODBinding;
  49.  
  50.   override:
  51.       somInit,
  52.     somUninit,
  53.     Purge;
  54.  
  55.     releaseorder:
  56.     reserved1,
  57.     reserved2,
  58.     ChooseEditorForPart,
  59.     GetContainerSuite;
  60.  
  61.   majorversion = 1; minorversion = 0;
  62.  
  63.   };
  64. #endif
  65. };
  66.  
  67. #endif // _ODBINDNG_
  68.