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

  1. #ifndef _ICNRCTL_INL_
  2. #define _ICNRCTL_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: icnrctl.inl                                                       *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in icnrctl.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 _ICNRCTL_
  20.   #undef  _ICNRCTL_INL_
  21.   #define _ICNRCTL_INL_ 1
  22.   #include <icnrctl.hpp>
  23. #endif
  24.  
  25.  
  26. #if _ICNRCTL_INL_
  27.   #define inline
  28. #endif
  29.  
  30.  
  31.  
  32.  
  33. inline IBase::Boolean IContainerControl::isVisible() const
  34.        { return Inherited::isVisible(); }
  35.  
  36. inline IBase::Boolean IContainerControl::operator==( const IContainerControl& that)
  37.        { return (&that==this); }
  38.  
  39.  
  40. inline IBase::Boolean IContainerControl::willDeleteObjectsOnClose( ) const
  41.        { return ((flClState & IContainerControl::autoDeleteObjects) ? true : false);}
  42.  
  43. inline IBase::Boolean IContainerControl::willDeleteColumnsOnClose( ) const
  44.        { return ((flClState & IContainerControl::autoDeleteColumns) ? true : false);}
  45.  
  46.  
  47. inline unsigned long IContainerControl::numberOfObjectChanges() const
  48.        {return ulClObjectChanges; }
  49.  
  50. inline unsigned long IContainerControl::numberOfColumnChanges() const
  51.        {return ulClColumnChanges; }
  52.  
  53.  
  54.  
  55. inline IContainerControl& IContainerControl :: disableCaching()
  56. {
  57.    enableCaching(0);
  58.    return *this;
  59. }
  60.  
  61.  
  62.  
  63.  
  64. #endif // _ICNRCTL_INL_
  65.  
  66.