home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / odtlktv4.zip / ODTLKT / TOOLKIT / IDL / DRAGDRPB.IDL < prev    next >
Text File  |  1995-12-13  |  2KB  |  76 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 _DRAGDRPB_
  17. #define _DRAGDRPB_
  18.  
  19. #ifndef _ODOBJECT_
  20. #include "ODObject.idl"
  21. #endif
  22.  
  23. //=====================================================================================
  24. // Classes defined in this interface
  25. //=====================================================================================
  26.  
  27. interface  ODBaseDragAndDrop;
  28.  
  29. //=====================================================================================
  30. // Classes used by this interface
  31. //=====================================================================================
  32.  
  33. interface  ODSession;
  34. interface  ODPart;
  35. interface  ODStorageUnit;
  36. interface  ODFrame;
  37.  
  38. //=====================================================================================
  39. // ODBaseDragAndDrop
  40. //=====================================================================================
  41.  
  42. interface ODBaseDragAndDrop :  ODObject
  43. {
  44.   void Clear();
  45.  
  46.   ODStorageUnit  GetContentStorageUnit();
  47.  
  48.   ODDropResult StartDrag(in ODFrame srcFrame,
  49.           in ODType imageType,
  50.           in ODByteArray image,
  51.           out ODPart destPart,
  52.           in ODByteArray refCon);
  53.  
  54.  
  55. #ifdef __SOMIDL__
  56.   implementation
  57.   {
  58.       functionprefix = ODBaseDragAndDrop;
  59.     override:
  60.       somInit,
  61.       somUninit;
  62.     releaseorder:
  63.       Clear,
  64.       GetContentStorageUnit,
  65.       StartDrag,
  66.       reserved1;
  67.  
  68.     majorversion = 1; minorversion = 0;
  69.  
  70.   };
  71. #endif
  72.  
  73. };
  74.  
  75. #endif // _DRAGDRPB_
  76.