home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / iobservr.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  1.6 KB  |  31 lines

  1. /*******************************************************************************
  2. * FILE NAME: iobservr.c                                                        *
  3. *                                                                              *
  4. * DESCRIPTION:                                                                 *
  5. *   This file contains the definition of the template functions                *
  6. *   declared in iobservr.hpp.                                                  * 
  7. *                                                                              *
  8. * COPYRIGHT:                                                                   *
  9. *   IBM Open Class Library                                                     *
  10. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  11. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  12. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  13. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  14. *                                                                              *
  15. *******************************************************************************/
  16. #include <iobservr.hpp>
  17.  
  18. template<class ATarget>
  19. IObserverConnectionTo<ATarget>::~IObserverConnectionTo()
  20. {
  21. }
  22.  
  23. template<class ATarget>
  24. IObserverConnectionTo<ATarget>&
  25. IObserverConnectionTo<ATarget>::dispatchNotificationEvent(
  26.                                             const INotificationEvent& event)
  27. {
  28.     ( fTarget.*fConnectedMember ) ( event );
  29.     return *this;
  30. }
  31.