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

  1. #ifndef _ICOMPNEN_INL_
  2. #define _ICOMPNEN_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: icompnen.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in icompnen.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 _ICOMPNEN_
  19.   #undef  _ICOMPNEN_INL_
  20.   #define _ICOMPNEN_INL_ 1
  21.   #include <icompnen.hpp>
  22. #endif
  23.  
  24. #if _ICOMPNEN_INL_
  25.   #define inline
  26. #endif
  27.  
  28.  
  29. //===============================================================================
  30. //
  31. // inline members of class IComponent
  32. //
  33.  
  34. inline
  35. INotifier&
  36. IComponent::notifier()
  37. {
  38.     return fNotifier;
  39. }
  40.     
  41. inline
  42. IGUIBundle&
  43. IComponent::bundle() const
  44. {
  45.     return *fpBundle;
  46. }
  47.  
  48. inline
  49. IModel*
  50. IComponent::model() const
  51. {
  52.     return fpModel;
  53. }
  54.  
  55. inline
  56. IDocumentStorage&
  57. IComponent::storage() const
  58. {
  59.     return *fpStorage;
  60. }
  61.  
  62. inline
  63. const IString&
  64. IComponent::documentName() const
  65. {
  66.     return fDocumentName;
  67. }
  68.  
  69. inline
  70. IComponentImp*
  71. IComponent::objectInstance() const
  72. {
  73.     return fpImplementation;
  74. }
  75.  
  76. #endif /* _ICOMPNEN_INL_ */
  77.  
  78.