![]() | InDesign SDK 20.5 |

Public Member Functions | |
| XDocBkUIDialogObserver (IPMUnknown *boss) | |
| virtual | ~XDocBkUIDialogObserver () |
| virtual void | AutoAttach () |
| virtual void | AutoDetach () |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
Public Member Functions inherited from CObserver | |
| CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER) | |
| IChangeManager * | GetChangeManager () const |
| virtual void | SetAttachIID (PMIID iid) |
| virtual PMIID | GetAttachIID () const |
| virtual void | SetEnabled (bool16 state) |
| virtual bool16 | IsEnabled () const |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
Additional Inherited Members | |
Public Types inherited from IObserver | |
| enum | { kDefaultIID = IID_IOBSERVER } |
Protected Attributes inherited from CObserver | |
| bool16 | fDetachSubjectsOnDelete |
| PMIID | fAttachIID |
| const UIDRef | fThisRef |
| bool16 | fEnabled |
Implements IObserver based on the partial implementation CDialogObserver; allows dynamic processing of dialog widget changes, in this case the dialog's info button.
| inline |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| inlinevirtual |
Destructor.
| virtual |
Called by the application to allow the observer to attach to the subjects to be observed, in this case the dialog's info button widget. If you want to observe other widgets on the dialog you could add them here.
Reimplemented from CObserver.
| virtual |
Called by the application to allow the observer to detach from the subjects being observed.
Reimplemented from CObserver.
| virtual |
Called by the host when the observed object changes, in this case when the dialog's info button is clicked.
| theChange | IN specifies the class ID of the change to the subject. Frequently this is a command ID. |
| theSubject | IN points to the ISubject interface for the subject that has changed. |
| protocol | IN specifies the ID of the changed interface on the subject boss. |
| changedBy | IN points to additional data about the change. Often this pointer indicates the class ID of the command that has caused the change. |
Implements IObserver.