home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / IHANDLE.INL < prev    next >
Text File  |  1993-10-22  |  3KB  |  100 lines

  1. #ifndef _IHANDLE_INL_
  2. #define _IHANDLE_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: ihandle.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in ihandle.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. *******************************************************************************/
  19. #ifndef _IHANDLE_
  20.   #undef  _IHANDLE_INL_
  21.   #define _IHANDLE_INL_ 1
  22.   #include <ihandle.hpp>
  23. #endif
  24.  
  25. #if _IHANDLE_INL_
  26.   #define inline
  27. #endif
  28.  
  29. inline IHandle :: IHandle ( Value value )
  30.   : handle( value )
  31.   {
  32.   }
  33.  
  34. inline IHandle :: operator Value ( ) const
  35.   {
  36.   return this->handle;
  37.   }
  38.  
  39. inline IWindowHandle :: IWindowHandle ( Value value )
  40.   : IHandle( value )
  41.   {
  42.   }
  43.  
  44. inline IAnchorBlockHandle :: IAnchorBlockHandle ( Value value )
  45.   : IHandle( value )
  46.   {
  47.   }
  48.  
  49. inline IModuleHandle :: IModuleHandle ( Value value )
  50.   : IHandle( value )
  51.   {
  52.   }
  53.  
  54. inline IStringHandle :: IStringHandle ( Value value )
  55.   : IHandle( value )
  56.   {
  57.   }
  58.  
  59. inline ISemaphoreHandle :: ISemaphoreHandle ( Value value )
  60.   : IHandle( value )
  61.   {
  62.   }
  63.  
  64. inline IPresSpaceHandle :: IPresSpaceHandle ( Value value )
  65.   : IHandle( value )
  66.   {
  67.   }
  68.  
  69. inline IProfileHandle :: IProfileHandle ( Value value )
  70.   : IHandle( value )
  71.   {
  72.   }
  73.  
  74. inline IMessageQueueHandle :: IMessageQueueHandle ( Value value )
  75.   : IHandle( value )
  76.   {
  77.   }
  78.  
  79. inline IAccelTblHandle :: IAccelTblHandle ( Value value )
  80.   : IHandle( value )
  81.   {
  82.   }
  83.  
  84. inline IProcessId :: IProcessId ( Value value )
  85.   : IHandle( value )
  86.   {
  87.   }
  88.  
  89. inline IThreadId :: IThreadId ( Value value )
  90.   : IHandle( value )
  91.   {
  92.   }
  93.  
  94. inline IEnumHandle :: IEnumHandle ( Value value )
  95.   : IHandle( value )
  96.   {
  97.   }
  98.  
  99. #endif // _IHANDLE_INL_
  100.