|
| enum | { kDefaultIID = IID_IOBSERVER } |
| |
| bool16 | fDetachSubjectsOnDelete |
| |
| PMIID | fAttachIID |
| |
| const UIDRef | fThisRef |
| |
| bool16 | fEnabled |
| |
CelPnlEditBoxObserver implements the observer.
CelPnlEditBoxObserver implements IObserver based on the partial implementation CObserver. This observer is empty! Edit this method to observe the EditBox widget.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * CelPnlEditBoxObserver::CelPnlEditBoxObserver | ( | IPMUnknown * | boss | ) | |
Constructor.
- Parameters
| boss | interface ptr from boss object on which this interface is aggregated. |
| CelPnlEditBoxObserver::~CelPnlEditBoxObserver | ( | | ) | |
| virtual |
| void CelPnlEditBoxObserver::AutoAttach | ( | void | | ) | |
| virtual |
Called by the application to allow the observer to attach to the subjects to be observed. AutoAttach is only called for registered observers of widgets.
Reimplemented from CObserver.
| void CelPnlEditBoxObserver::AutoDetach | ( | void | | ) | |
| virtual |
Called by the application to allow the observer to detach from the subjects being observed. AutoDetach is only called for registered observers of widgets.
Reimplemented from CObserver.
| void CelPnlEditBoxObserver::Update | ( | const ClassID & | theChange, | | | ISubject * | theSubject, | | | const PMIID & | protocol, | | | void * | changedBy | | ) | | |
| virtual |
Respond to a change in an observed subject. Called by the host when the observed object changes. Called for all registered observers, and is the method through which changes are broadcast.
- Parameters
| theChange | theChange represents the change to an object, often this is a command id. |
| theSubject | theSubject is the subject that changed. |
| protocol | protocol is the interface of the subject's boss that changed. |
| changedBy | changedBy is used to pass additional data about the change, often this is a pointer to the command that caused the change. |
Implements IObserver.