home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / uicldd.zip / IDMEVENT.INL < prev    next >
Text File  |  1993-09-06  |  6KB  |  147 lines

  1. #ifndef _IDMEVENT_INL_
  2.   #define _IDMEVENT_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: idmevent.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in idmevent.hpp.                                        *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. * $Log:   M:/ibmclass/idrag/vcs/idmevent.inv  $                         *
  19. //
  20. //   Rev 1.15   06 Sep 1993 13:39:10   banzai
  21. //Add support for DM_DISCARDOBJECT
  22. //
  23. //   Rev 1.14   03 Sep 1993 11:17:44   HAGGAR
  24. //drag image support and assorted fixes
  25. //
  26. //   Rev 1.13   28 Aug 1993 15:52:44   banzai
  27. //Move part of rendering/drop logic into IDMItem
  28. //
  29. //   Rev 1.12   12 Aug 1993 13:52:38   banzai
  30. //Merge source and target item into one
  31. //
  32. //   Rev 1.11   06 Aug 1993 16:40:14   banzai
  33. //Remove pos stuff from constructor per breaking derivedclasses
  34. //
  35. //   Rev 1.10   03 Aug 1993 20:17:24   banzai
  36. //Add support for dropPosition()
  37. //
  38. //   Rev 1.9   02 Aug 1993 15:26:38   HAGGAR
  39. //rendering changes
  40. //
  41. //   Rev 1.8   01 Jul 1993 12:22:28   HAGGAR
  42. //rendering changes
  43. //
  44. //   Rev 1.7   28 Jun 1993 11:46:50   banzai
  45. //Fix traps in handle logic
  46. //
  47. //   Rev 1.6   10 Jun 1993 09:25:08   banzai
  48. //Here's the Beef
  49. //
  50. //   Rev 1.5   09 Jun 1993 16:09:50   banzai
  51. //More changes
  52. //
  53. //   Rev 1.4   09 Jun 1993 09:44:38   banzai
  54. //Enable additional events
  55. //
  56. //   Rev 1.3   04 Jun 1993 16:39:40   unknown
  57. //Control Enablement
  58. //
  59. //   Rev 1.2   03 May 1993 16:05:48   unknown
  60. //Latest changes per IC_UM_DRAGOVER
  61. //
  62. //   Rev 1.1   30 Apr 1993 11:46:02   HAGGAR
  63. //
  64. //   Rev 1.0   22 Apr 1993 10:41:58   HAGGAR
  65. //Initial revision.
  66. //
  67. *******************************************************************************/
  68. #ifndef _IDMEVENT_
  69.   #undef  _IDMEVENT_INL_
  70.   #define _IDMEVENT_INL_ 1
  71.   #include <idmevent.hpp>
  72. #endif
  73.  
  74. #if _IDMEVENT_INL_
  75.   #define inline
  76. #endif
  77.  
  78.  
  79. /*=========================================================================
  80. | Inlines for IDMSourceBeginEvent                               PFH 04/23 |
  81. =========================================================================*/
  82.  
  83. /*=========================================================================
  84. | Inlines for IDMSourceRenderEvent                              PFH 06/16 |
  85. =========================================================================*/
  86. inline IWindowHandle IDMSourceRenderEvent::targetWindow()
  87. {
  88.   return (tgtWindow);
  89. }
  90.  
  91. /**************************************************************************/
  92. /* IDMSourceRenderEvent :: pmDragTransfer                       (private) */
  93. /*   Can be used to pass information to the target                        */
  94. /*                                                                        */
  95. /* History:                                                               */
  96. /* 06/16/93  Peter Haggar Created it.                                     */
  97. /**************************************************************************/
  98. inline _DRAGTRANSFER* IDMSourceRenderEvent :: pmDragTransfer ()
  99. {
  100.   return (pPMDragTransfer);
  101. }
  102.  
  103. inline Boolean IDMSourceRenderEvent::canRetry() const
  104. {
  105.   return (bRetry);
  106. }
  107.  
  108. inline IDM::RenderCompletion IDMSourceRenderEvent::completion() const
  109. {
  110.   return (rcCompletion);
  111. }
  112.  
  113. /*=========================================================================
  114. | Inlines for IDMSourcePrepareEvent                             MAB 06/09 |
  115. =========================================================================*/
  116.  
  117.  
  118. /*=========================================================================
  119. | Inlines for IDMSourceEndEvent                                 PFH 04/23 |
  120. =========================================================================*/
  121. /**************************************************************************/
  122. /* IDMTargetEndEvent :: pmDragTransfer                          (private) */
  123. /*   Returns the dragtransfer structure.                                  */
  124. /*                                                                        */
  125. /* History:                                                               */
  126. /* 09/01/93  Peter Haggar  Created it.                                    */
  127. /**************************************************************************/
  128. inline _DRAGTRANSFER* IDMTargetEndEvent :: pmDragTransfer()
  129. {
  130.   return (pPMDragTransfer);
  131. }
  132.  
  133.  
  134. /*=========================================================================
  135. | Inlines for IDMTargetEnterEvent                               MAB 04/30 |
  136. =========================================================================*/
  137.  
  138. /*=========================================================================
  139. | Inlines for IDMUMTgtEnterEvent                                MAB 04/30 |
  140. =========================================================================*/
  141.  
  142. /*=========================================================================
  143. | Inlines for IDMTargetDropEvent                                MAB 04/02 |
  144. =========================================================================*/
  145.  
  146. #endif // _IDMEVENT_INL_
  147.