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

  1. #ifndef _IDMSRCH_INL_
  2.   #define _IDMSRCH_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: idmsrch.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in idmsrch.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:   S:/ibmclass/idrag/vcs/idmsrch.inv  $                                 *
  19. //
  20. //   Rev 1.10   03 Sep 1993 12:56:10   HAGGAR
  21. //fixed bug
  22. //
  23. //   Rev 1.9   17 Aug 1993 12:46:54   law
  24. //Removed templates from i/f.
  25. //
  26. //   Rev 1.8   12 Aug 1993 13:53:22   banzai
  27. //Merge source and target item into one
  28. //
  29. //   Rev 1.7   05 Aug 1993 18:50:38   banzai
  30. //Clean up headers and function names
  31. //
  32. //   Rev 1.6   29 Jul 1993 19:28:06   banzai
  33. //Move reuseable code to handlers per controls
  34. //
  35. //   Rev 1.5   14 Jun 1993 17:00:08   banzai
  36. //Publicize renderer support
  37. //
  38. //   Rev 1.4   11 Jun 1993 15:55:30   banzai
  39. //Move Drag Item Provider back to IWindow
  40. //
  41. //   Rev 1.3   10 Jun 1993 16:52:26   banzai
  42. //Put drag item provider in src handler
  43. //
  44. //   Rev 1.2   18 May 1993 13:43:26   unknown
  45. //No change
  46. //
  47. //   Rev 1.1   30 Apr 1993 11:46:18   HAGGAR
  48. //No change.
  49. //
  50. //   Rev 1.0   22 Apr 1993 10:42:04   HAGGAR
  51. //Initial revision.
  52. //
  53. *******************************************************************************/
  54. #ifndef _IDMSRCH_
  55.   #undef  _IDMSRCH_INL_
  56.   #define _IDMSRCH_INL_ 1
  57.   #include <idmsrch.hpp>
  58. #endif
  59.  
  60. #if _IDMSRCH_INL_
  61.   #define inline
  62. #endif
  63.  
  64. /*=========================================================================
  65. | Inlines for IDMSRCH                                                     |
  66. |                                                                         |
  67. | History:                                                                |
  68. | 03/23/93  Peter Haggar  Created it.                                     |
  69. =========================================================================*/
  70. /**************************************************************************/
  71. /* IDMSourceHandler :: targetEnterNotify                                  */
  72. /*   Called when a target window processes a target enter event.          */
  73. /**************************************************************************/
  74. inline Boolean IDMSourceHandler ::
  75.                targetEnterNotify (IDMSourceNotifyEvent &event)
  76. {
  77.   return (false);
  78. }
  79.  
  80. inline unsigned short IDMSourceHandler::dragImageStyle ()
  81. {
  82.   return (drgImgStyle);
  83. }
  84.  
  85. /**************************************************************************/
  86. /* IDMSourceHandler :: numberOfRenderers                                  */
  87. /*   Handles the ending of a conversation of a partiular drag item.       */
  88. /**************************************************************************/
  89. #if 0
  90. inline unsigned IDMSourceHandler :: numberOfRenderers ()
  91. {
  92.   return (rendererSeqCl()->numberOfElements());
  93. }
  94. #endif
  95.  
  96. /**************************************************************************/
  97. /* IDMSourceHandler :: renderer                                           */
  98. /*   Returns the renderer with the given index.                           */
  99. /**************************************************************************/
  100. #if 0
  101. inline IDMSourceRenderer* IDMSourceHandler :: renderer (unsigned index)
  102. {
  103.   return (rendererSeqCl()->elementAtPosition(index));
  104. }
  105. #endif
  106.  
  107. #endif //_IDMSRCH_INL_
  108.