InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ICommandMgr.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Roey Horns
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 __ICOMMANDMGR__
25
#define __ICOMMANDMGR__
26
27
#include "IPMUnknown.h"
28
#include "CommandID.h"
29
30
class
ICommand
;
31
class
PMString
;
32
class
IDataBase
;
33
44
class
ICommandMgr
:
public
IPMUnknown
45
{
46
public
:
47
enum
{ kDefaultIID = IID_ICOMMANDMGR };
48
50
virtual
void
Do
(
ICommand
* cmd) = 0;
51
53
virtual
void
ExecuteImmediate
(
ICommand
*cmd) = 0;
54
58
virtual
void
ExecuteDynamic
(
ICommand
*cmd) = 0;
59
62
virtual
void
DiscardedHistorySteps
() = 0;
64
virtual
void
StartHistorySequence
() = 0;
65
66
68
virtual
void
AddedHistoryStep
() = 0;
69
71
virtual
void
UndidHistorySteps
() = 0;
73
virtual
void
RedidHistorySteps
() = 0;
75
virtual
void
EndHistorySequence
() = 0;
76
78
virtual
IDataBase
*
GetTargetDB
()
const
= 0;
79
81
virtual
void
SetTargetDB
(
IDataBase
* db) = 0;
82
84
virtual
bool16
SetUndoSupport
(bool16 on) = 0;
85
86
};
87
88
#endif
tmpdoxygeninput
ICommandMgr.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1