InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IObserver.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Lonnie Millett
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//========================================================================================
23
24
#ifndef __IOBSERVER__
25
#define __IOBSERVER__
26
27
#include "ShuksanID.h"
28
29
class
ISubject
;
30
class
LazyNotificationData
;
31
32
//----------------------------------------------------------------------------------------
33
// Class IObserver
34
//----------------------------------------------------------------------------------------
35
46
class
INTERFACE_DECL
IObserver
:
public
IPMUnknown
47
{
48
public
:
49
enum
{ kDefaultIID = IID_IOBSERVER };
50
65
virtual
void
Update(
const
ClassID
& theChange,
ISubject
* theSubject,
const
PMIID
&protocol,
void
* changedBy) = 0;
66
69
virtual
void
AutoAttach() = 0;
70
73
virtual
void
AutoDetach() = 0;
74
79
virtual
void
SetAttachIID(
PMIID
iid) = 0;
80
84
virtual
PMIID
GetAttachIID()
const
= 0;
85
89
virtual
void
SetEnabled(bool16 state) = 0;
90
93
virtual
bool16 IsEnabled()
const
= 0;
94
111
virtual
void
LazyUpdate(
ISubject
* theSubject,
const
PMIID
&protocol,
const
LazyNotificationData
* data) = 0;
112
};
113
114
#endif
tmpdoxygeninput
IObserver.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1