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

  1. #ifndef _INOTIFEV_INL_
  2. #define _INOTIFEV_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: inotifev.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   classes declared in inotifev.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 _INOTIFEV_
  19.   #undef  _INOTIFEV_INL_
  20.   #define _INOTIFEV_INL_ 1
  21.   #include <inotifev.hpp>
  22. #endif
  23.  
  24. #if _INOTIFEV_INL_
  25.   #define inline
  26. #endif
  27.  
  28. inline INotificationEvent& INotificationEvent::setEventData( const IEventData& eventData )
  29. {
  30.   this->fEvtData = eventData;
  31.   return *this;
  32. }
  33.  
  34. inline INotificationEvent& INotificationEvent::setObserverData( const IEventData& observerData)
  35. {
  36.   this->fObsData = observerData;
  37.   return *this;
  38. }
  39.  
  40. inline INotificationEvent& INotificationEvent::setNotifierAttrChanged(
  41.                                                        Boolean changed)
  42. {
  43.   this->fAttrChanged = changed;
  44.   return *this;
  45. }
  46.  
  47.  
  48. inline INotificationId INotificationEvent::notificationId ( ) const
  49. {
  50.   return this->fEvtId;
  51. }
  52.  
  53. inline INotifier& INotificationEvent::notifier ( ) const
  54. {
  55.   return *(this->fEvtNotifier);
  56. }
  57.  
  58. inline IEventData INotificationEvent::eventData( ) const
  59. {
  60.   return this->fEvtData;
  61. }
  62.  
  63. inline IEventData INotificationEvent::observerData( ) const
  64. {
  65.   return this->fObsData;
  66. }
  67.  
  68. inline IBase::Boolean INotificationEvent::hasNotifierAttrChanged( ) const
  69. {
  70.   return this->fAttrChanged;
  71. }
  72. #endif // _INOTIFEV_INL_
  73.