Notifier Class Reference

Allows UIElements to interact with proxies. More...

#include <gadget.h>

Inheritance diagram for Notifier:

EditableText VisibleLabel VisibleList VisibleListWithEditableEntries AvailablePropertiesList UsedPropertiesList List of all members.

Public Member Functions

virtual ~Notifier ()
 Notifier ()
void NotifyOff ()
void NotifyOn ()
void Notify (Notifiable *const pObserver)

Private Attributes

BOOL m_ShouldNotify

Detailed Description

Allows UIElements to interact with proxies.

Author:
Colin_Barfoot (Xara Group Ltd) <camelotdev@xara.com>
Date:
15/10/96

Definition at line 200 of file gadget.h.


Constructor & Destructor Documentation

virtual Notifier::~Notifier  )  [inline, virtual]
 

Definition at line 203 of file gadget.h.

00203 {};

Notifier::Notifier  )  [inline]
 

Definition at line 205 of file gadget.h.

00205 : m_ShouldNotify(FALSE) {}


Member Function Documentation

void Notifier::Notify Notifiable *const   pObserver  )  [inline]
 

Definition at line 210 of file gadget.h.

00211     {
00212         if (m_ShouldNotify)
00213             pObserver->Notify(this);
00214     }

void Notifier::NotifyOff  )  [inline]
 

Definition at line 207 of file gadget.h.

00207 { m_ShouldNotify = FALSE;}

void Notifier::NotifyOn  )  [inline]
 

Definition at line 208 of file gadget.h.

00208 { m_ShouldNotify = TRUE;}


Member Data Documentation

BOOL Notifier::m_ShouldNotify [private]
 

Definition at line 217 of file gadget.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:57:14 2007 for Camelot by  doxygen 1.4.4