InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
CDialogObserver.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael Burbidge
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 __CDialogObserver__
25
#define __CDialogObserver__
26
27
#include "AbstractDialogObserver.h"
28
29
#ifdef WIDGET_BUILD
30
#endif
31
32
class
IPanelControlData
;
33
class
IListControlData
;
34
41
class
CDialogObserver
:
public
AbstractDialogObserver
42
{
43
public
:
44
CDialogObserver
(
IPMUnknown
*boss);
45
virtual
~
CDialogObserver
();
46
52
virtual
void
Update
(
const
ClassID
& theChange,
ISubject
* theSubject,
const
PMIID
&protocol,
void
* changedBy);
53
59
virtual
void
AutoAttach
();
60
virtual
void
AutoDetach
();
61
62
protected
:
63
// ----- Dialog helper methods -----
69
virtual
void
CloseDialog
(bool16 windowAlreadyClosed = kFalse);
70
76
virtual
void
FireOffEndDialogCmd
(bool16 hitOK);
77
81
void
SetDialogValidationStatusFailed
(bool16 bStatus = kTrue ) ;
82
83
void
SetCloseOnCancel(bool16 shouldCloseOnCancel = kTrue);
84
85
private
:
86
bool16 fIsDialogInitialized;
87
bool16 fCloseOnCancel;
88
};
89
90
91
#endif
tmpdoxygeninput
CDialogObserver.h
Generated on Sat Jul 19 2025 02:54:11 for InDesign SDK by
1.8.3.1