Implements IObserver based on the partial implementation CDialogObserver.
| WatermarkUIDialogObserver::WatermarkUIDialogObserver | ( | IPMUnknown * | boss | ) | |
| inline |
Constructor.
- Parameters
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual WatermarkUIDialogObserver::~WatermarkUIDialogObserver | ( | | ) | |
| inlinevirtual |
| Binds the C implementation class onto its ImplementationID making the C code callable by the application *void WatermarkUIDialogObserver::AutoAttach | ( | void | | ) | |
| virtual |
Called by the application to allow the observer to attach to the subjects to be observed, in this case the dialog's widgets.
Reimplemented from CDialogObserver.
| void WatermarkUIDialogObserver::AutoDetach | ( | void | | ) | |
| virtual |
Called by the application to allow the observer to detach from the subjects being observed.
Reimplemented from CDialogObserver.
| void WatermarkUIDialogObserver::Update | ( | const ClassID & | theChange, | | | ISubject * | theSubject, | | | const PMIID & | protocol, | | | void * | changedBy | | ) | | |
| virtual |
Called by the host when the observed widgets change.
- Parameters
| theChange | specifies the class ID of the change to the subject. Frequently this is a command ID. |
| theSubject | points to the ISubject interface for the subject that has changed. |
| protocol | specifies the ID of the changed interface on the subject boss. |
| changedBy | points to additional data about the change. Often this pointer indicates the class ID of the command that has caused the change. |
Reimplemented from CDialogObserver.