InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IScriptEventListener.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Jonathan W. Brown
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18
//
19
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20
// with the terms of the Adobe license agreement accompanying it. If you have received
21
// this file from a source other than Adobe, then your use, modification, or
22
// distribution of it requires the prior written permission of Adobe.
23
//
24
//========================================================================================
25
26
#ifndef __IScriptEventListener__
27
#define __IScriptEventListener__
28
29
#include "ScriptingID.h"
30
#include "ScriptData.h"
31
35
class
IScriptEventListener
:
public
IPMUnknown
36
{
37
public
:
38
enum
{ kDefaultIID = IID_ISCRIPTEVENTLISTENER } ;
39
45
virtual
void
Init
(
const
PMString
& eventType,
const
ScriptData
& handler ) = 0 ;
46
48
virtual
int32
GetID
()
const
= 0 ;
49
51
virtual
const
PMString
&
GetEventType
()
const
= 0 ;
52
54
virtual
const
ScriptData
&
GetHandler
()
const
= 0 ;
55
57
enum
State
58
{
60
kNew
,
62
kAlive
,
64
kDead
65
} ;
66
68
virtual
State
GetState
()
const
= 0 ;
69
70
// ----- FOR INTERNAL USE ONLY -----
72
virtual
void
SetState
(
State
state ) = 0 ;
73
} ;
74
75
typedef
K2Vector< InterfacePtr<IScriptEventListener>
>
ScriptEventListenerList
;
76
77
#endif
tmpdoxygeninput
IScriptEventListener.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1