InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IBehaviorData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Michael Brubidge
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 __IBehaviorData_h__
25
#define __IBehaviorData_h__
26
27
#include "IPMUnknown.h"
28
#include "BehaviorID.h"
29
35
class
IBehaviorData
:
public
IPMUnknown
36
{
37
public
:
38
enum
{ kDefaultIID = IID_IBEHAVIORDATA };
39
40
// ---- Static properties of actions. i.e. They cant' be changed once the action
41
// is created.
42
44
virtual
int32
GetAction
()
const
= 0;
45
47
virtual
PMString
GetName
()
const
= 0;
48
49
// ---- Dyncamic properties of actions.
50
57
virtual
UID
GetOwner
()
const
= 0;
58
61
virtual
void
SetOwner
(
const
UID
& owner) = 0;
62
65
virtual
bool16
IsEnabled
()
const
= 0;
66
69
virtual
bool16
Enable
(
const
bool16& enable = kTrue) = 0;
70
bool16 IsDisabled()
const
{
return
!
IsEnabled
(); }
71
bool16 Disable() {
return
Enable
(kFalse); }
72
77
virtual
void
Copy
(
IPMUnknown
* srcData) = 0;
78
};
79
80
#endif // __IBehaviorData_h__
tmpdoxygeninput
IBehaviorData.h
Generated on Sat Jul 19 2025 02:54:12 for InDesign SDK by
1.8.3.1