InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IK2ServiceProvider.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Zak_Williamson
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 __IK2ServiceProvider__
25
#define __IK2ServiceProvider__
26
27
#include "IPMUnknown.h"
28
#include "ShuksanID.h"
29
#include "K2Vector.h"
30
#include "IPlugIn.h"
31
41
class
IK2ServiceProvider
:
public
IPMUnknown
42
{
43
public
:
44
enum
{ kDefaultIID = IID_IK2SERVICEPROVIDER };
45
49
virtual
void
GetName
(
PMString
* pName) = 0;
50
54
virtual
ServiceID
GetServiceID
() = 0;
55
60
virtual
bool16
IsDefaultServiceProvider
() = 0;
61
79
typedef
enum
{ kInstancePerSession, kInstancePerUse, kInstancePerSessionPreload, kInstancePerSessionNoPurge }
InstancePerX
;
80
84
virtual
InstancePerX
GetInstantiationPolicy
() = 0;
85
93
virtual
bool16
HasMultipleIDs
()
const
= 0;
94
99
virtual
void
GetServiceIDs
(
K2Vector<ServiceID>
& serviceIDs) = 0;
100
115
virtual
IPlugIn::ThreadingPolicy
GetThreadingPolicy
()
const
= 0;
116
};
117
118
#endif
tmpdoxygeninput
IK2ServiceProvider.h
Generated on Sat Jul 19 2025 02:54:14 for InDesign SDK by
1.8.3.1