InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPropertyMgr.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner:
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 // ADOBE CONFIDENTIAL
24 //
25 //========================================================================================
26 
27 #ifndef __IPropertyMgr__
28 #define __IPropertyMgr__
29 
30 #include "IPMUnknown.h"
31 #include "LibraryProviderID.h"
32 #include "IProperty.h"
33 
39 class IPropertyMgr : public IPMUnknown
40 {
41 public:
42  enum { kDefaultIID = IID_IPROPERTYMGR };
43 
44  // ----- Add/Remove Properties -----
50  virtual UID NewProperty( const PMString& name, ClassID type ) = 0;
51 
56  virtual bool16 DeleteProperty( UID propertyUID ) = 0;
57 
58  // ----- Iterating Properties -----
62  virtual int32 GetPropertyCount() const = 0;
63 
68  virtual UID GetNthProperty(int32 n) const = 0;
69 
70  // ----- Find Properties -----
75  virtual UID FindProperty( const PMString& name ) const = 0;
76 
77 };
78 
79 #endif