home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / Database / OTC_EOFBetaExamples_V1.0 / NSFoundation / Notification / Observer.h < prev    next >
Encoding:
Text File  |  1994-07-31  |  782 b   |  39 lines

  1. /*--------------------------------------------------------------------------
  2.  *
  3.  *     You may freely copy, distribute, and reuse the code in this example.
  4.  *     SHL Systemhouse disclaims any warranty of any kind, expressed or  
  5.  *    implied, as to its fitness for any particular use.
  6.  *
  7.  *
  8.  *    Observer
  9.  *
  10.  *    Inherits From:        NSObject
  11.  *
  12.  *    Conforms To:        None
  13.  *
  14.  *    Declared In:        Observer.h
  15.  *
  16.  *    Class Description
  17.  *
  18.  *        Observes notification.
  19.  *
  20.  *
  21.  *------------------------------------------------------------------------*/
  22. #import <foundation/NSObject.h>
  23. @class NSNotification;
  24.  
  25.  
  26.  
  27. @interface Observer : NSObject
  28. {
  29.     id    flagButton;
  30.     id    registerButton;
  31.     id    removeButton;
  32. }
  33.  
  34. - registerObserver: sender;
  35. - removeObserver: sender;
  36. - (void) flagRaised: (NSNotification*) aNotification;
  37.  
  38. @end
  39.