#include <gadget.h>
Inheritance diagram for Notifier:
Public Member Functions | |
virtual | ~Notifier () |
Notifier () | |
void | NotifyOff () |
void | NotifyOn () |
void | Notify (Notifiable *const pObserver) |
Private Attributes | |
BOOL | m_ShouldNotify |
Definition at line 200 of file gadget.h.
|
Definition at line 203 of file gadget.h.
|
|
Definition at line 205 of file gadget.h. 00205 : m_ShouldNotify(FALSE) {}
|
|
Definition at line 210 of file gadget.h. 00211 { 00212 if (m_ShouldNotify) 00213 pObserver->Notify(this); 00214 }
|
|
Definition at line 207 of file gadget.h. 00207 { m_ShouldNotify = FALSE;}
|
|
Definition at line 208 of file gadget.h. 00208 { m_ShouldNotify = TRUE;}
|
|
|