home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iaccel.inl < prev    next >
Encoding:
Text File  |  1996-02-22  |  1.7 KB  |  48 lines

  1. #ifndef _IACCEL_INL_
  2. #define _IACCEL_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: iaccel.inl                                                        *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in iaccel.hpp.                                            *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   IBM Open Class Library                                                     *
  12. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  13. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  14. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  15. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  16. *                                                                              *
  17. *******************************************************************************/
  18. #ifndef _IACCEL_
  19.   #undef  _IACCEL_INL_
  20.   #define _IACCEL_INL_ 1
  21.   #include <iaccel.hpp>
  22. #endif
  23.  
  24. #ifndef _IRESLIB_
  25.   #include <ireslib.hpp>
  26. #endif
  27.  
  28. #if _IACCEL_INL_
  29.   #define inline
  30. #endif
  31.  
  32. inline IWindow*  IAccelerator :: owner ( ) const
  33. {
  34.   return pwndClOwner;
  35. }
  36.  
  37. inline IAccelerator&  IAccelerator :: set ( unsigned long accelResId )
  38. {
  39.   return set(IResourceId(accelResId));
  40. }
  41.  
  42. inline IBase::Boolean  IAccelerator :: isSet ( ) const
  43. {
  44.   return isSetCl;
  45. }
  46.  
  47. #endif // _IACCEL_INL_
  48.