InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IUIDData.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: robin briggs
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
// Interface for storing UIDs.
24
//
25
//========================================================================================
26
27
#ifndef __IUIDData__
28
#define __IUIDData__
29
30
//
31
// If you need to store a UID persistantly, use IPersistUIDData instead of
32
// IUIDData
33
//
34
35
#include "IPMUnknown.h"
36
#include "UIDRef.h"
37
#include "CommandID.h"
38
44
class
IUIDData
:
public
IPMUnknown
45
{
46
public
:
47
enum
{ kDefaultIID = IID_IUIDDATA };
48
50
51
57
virtual
void
Set
(
const
IPMUnknown
*item) = 0;
58
63
virtual
void
Set
(
IDataBase
*db,
UID
id
) = 0;
64
68
virtual
void
Set
(
const
UIDRef
& ref) = 0;
69
71
75
virtual
IDataBase
*
GetItemDataBase
()
const
= 0;
76
79
virtual
UID
GetItemUID
()
const
= 0;
80
83
UID
Get
()
const
84
{
return
GetItemUID
(); }
85
86
89
virtual
const
UIDRef
&
GetRef
()
const
= 0;
90
91
92
};
93
94
95
96
#endif // __IUIDData__
tmpdoxygeninput
IUIDData.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1