InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CLinkResourceService.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Easter
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 // Description:
24 // All link resource K2 service providers should use or inherit from this class.
25 //
26 //========================================================================================
27 
28 #ifndef __CLinkResourceService__
29 #define __CLinkResourceService__
30 
31 // ----- Includes -----
32 #include "CPMUnknown.h"
33 #include "IK2ServiceProvider.h"
34 
35 
42 class CLinkResourceService : public CPMUnknown<IK2ServiceProvider>
43 {
44 public:
46 
48  virtual ~CLinkResourceService();
49 
55  virtual void GetName(PMString* pName);
56 
61  virtual ServiceID GetServiceID();
62 
67  virtual bool16 IsDefaultServiceProvider();
68 
74 
79  virtual bool16 HasMultipleIDs() const;
80 
87  virtual void GetServiceIDs(K2Vector<ServiceID>& serviceIDs);
88 
90 };
91 
92 #endif // __CLinkResourceService__