InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPluginIDList.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: jargast
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 __IPluginIDList__
25 #define __IPluginIDList__
26 
27 #include "IPMUnknown.h"
28 #include "AppFrameworkID.h"
29 
32 class IPluginIDList : public IPMUnknown
33 {
34 public:
35  enum { kDefaultIID = IID_IPLUGINIDLIST };
36 
40  virtual void Set(const K2Vector<PluginID>& list) = 0;
41 
45  virtual void Add(IPluginIDList *copyThis) = 0;
46 
50  virtual void Add(PluginID addThis) = 0;
51 
55  virtual void Remove(PluginID removeThis) = 0;
56 
59  virtual void Clear() = 0;
60 
65  virtual bool16 IsInList(PluginID pluginID) const = 0;
66 
70  virtual int32 Length() const = 0;
71 
76  virtual PluginID GetNth(int32 i) const = 0;
77 };
78 
79 
80 #endif // __IPluginIDList__