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

  1. #ifndef _IDMCNREV_INL_
  2. #define _IDMCNREV_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: idmcnrev.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in idmcnrev.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/idmcnrev.inv  $                                                                        *
  19. //
  20. //   Rev 1.0   02 Sep 1993 20:30:02   banzai
  21. //Initial Drop
  22. //
  23. //   Rev 1.0   03 Aug 1993 20:21:52   banzai
  24. //First pass at CNR DM events
  25. //
  26. *******************************************************************************/
  27. #ifndef _IDMCNREV_
  28.   #undef  _IDMCNREV_INL_
  29.   #define _IDMCNREV_INL_ 1
  30.   #include <idmcnrev.hpp>
  31. #endif
  32.  
  33. #if _IDMCNREV_INL_
  34.   #define inline
  35. #endif
  36.  
  37.  
  38. /*=========================================================================
  39. | Inlines for IDMCnrInitEvent                                             |
  40. =========================================================================*/
  41. inline unsigned short IDMCnrInitEvent :: containerId() const
  42. {
  43.   return(this->usCnrId);
  44. }
  45.  
  46. inline IContainerControl* IDMCnrInitEvent :: container() const
  47. {
  48.   return(this->pCnrCtl);
  49. }
  50.  
  51. inline ISize IDMCnrInitEvent :: pointerOffset() const
  52. {
  53.   return(this->offset);
  54. }
  55.  
  56. inline IPoint IDMCnrInitEvent :: position() const
  57. {
  58.   return(this->pos);
  59. }
  60.  
  61.  
  62. /*=========================================================================
  63. | Inlines for IDMCnrOverAfterEvent                                        |
  64. =========================================================================*/
  65. inline Boolean IDMCnrOverAfterEvent :: isDragAfter() const
  66. {
  67.   return(this->bDragAfter);
  68. }
  69.  
  70. inline unsigned short IDMCnrOverAfterEvent :: containerId() const
  71. {
  72.   return(this->usCnrId);
  73. }
  74.  
  75. inline IContainerControl* IDMCnrOverAfterEvent :: container() const
  76. {
  77.   return(this->pCnrCtl);
  78. }
  79.  
  80. /*=========================================================================
  81. | Inlines for IDMCnrDropEvent                                             |
  82. =========================================================================*/
  83. inline unsigned short IDMCnrDropEvent :: containerId() const
  84. {
  85.   return(this->usCnrId);
  86. }
  87.  
  88. inline IContainerControl* IDMCnrDropEvent :: container() const
  89. {
  90.   return(this->pCnrCtl);
  91. }
  92.  
  93. #endif // _IDMCNREV_INL_
  94.  
  95.