InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IRIDXNotifierUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Danielle Darling
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 __IRIDXNOTIFIERUTILS__
25
#define __IRIDXNOTIFIERUTILS__
26
27
#include "IPMUnknown.h"
28
#include "IRIDX.h"
29
#include "IRIDXNotifierHandler.h"
30
#include "AppFrameworkID.h"
31
#include "K2SmartPtr.h"
32
#include "Utils.h"
33
34
// ===================================================================================
35
// class IRIDXNotifierUtils
36
// ===================================================================================
45
class
RIDXNotifierCacheData
46
{
47
public
:
48
RIDXNotifierCacheData
():
49
fRIDXQuery (nil), fTargetClassID (kInvalidClass) {}
50
51
~
RIDXNotifierCacheData
()
52
{
53
if
(fRIDXQuery != nil) fRIDXQuery->
Release
();
54
}
55
56
public
:
57
boost::shared_ptr<K2Vector<InterfacePtr<IRIDXNotifierHandler> > > fHandlers;
58
IRIDXQuery
* fRIDXQuery;
59
ClassID
fTargetClassID;
60
};
61
62
class
IRIDXNotifierUtils
:
public
IPMUnknown
63
{
64
public
:
65
// ----- Constants -----
66
enum
{kDefaultIID = IID_IRIDXNOTIFIERUTILS};
67
74
virtual
void
BeingDeleted
(
IDataBase
*db,
UID
targetUID,
const
IPMUnknown
* iDataForDeleting)
const
= 0;
75
82
virtual
void
BeingDeleted
(
IDataBase
*db,
const
UIDList
& targetUIDList,
const
IPMUnknown
* iDataForDeleting)
const
= 0;
83
90
virtual
void
WillBeModified
(
IDataBase
*db,
UID
targetUID,
const
IPMUnknown
* iDataForModifying)
const
= 0;
91
98
virtual
void
WillBeModified
(
IDataBase
*db,
const
UIDList
& targetUIDList,
const
IPMUnknown
* iDataForModifying)
const
= 0;
99
111
virtual
bool16
IsActivelyUsed
(
IDataBase
*db,
UID
targetUID,
const
IPMUnknown
* iOptionData = nil,
RIDXNotifierCacheData
* pNotifierCache = nil)
const
= 0;
112
120
virtual
void
SwatchesWillBeConvertedLocalToGlobal
(
IDataBase
*db,
const
UIDList
& targetUIDList,
const
IPMUnknown
* iData)
const
= 0;
121
};
122
123
#endif
124
tmpdoxygeninput
IRIDXNotifierUtils.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1