InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPageItemCache.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 // Attach this interface to pageitems to provide cache invalidation notifications
24 //
25 //========================================================================================
26 
27 #ifndef __IPageItemCache__
28 #define __IPageItemCache__
29 
30 //
31 // This interface is private to the caching pageitems implementation and should not
32 // be used outside of that context
33 //
34 
35 #include "IPMUnknown.h"
36 #include "GenericID.h"
37 
42 class IPageItemCache : public IPMUnknown
43 {
44 public:
45  enum { kDefaultIID = IID_IPAGEITEMCACHE };
46 
48  virtual void InvalidateCaches() = 0;
49 
53  virtual void SetGeometryCacheValid (bool16 isValid) = 0;
54 
58  virtual bool16 IsGeometryCacheValid() const = 0;
59 
63  virtual void SetPathGeometryCacheValid (bool16 isValid) = 0;
64 
68  virtual bool16 IsPathGeometryCacheValid() const = 0;
69 
73  virtual void SetShapeCacheValid (bool16 isValid) = 0;
74 
78  virtual bool16 IsShapeCacheValid() const = 0;
79 
80 
84  virtual void SetPathItemCacheValid (bool16 isValid) = 0;
85 
89  virtual bool16 IsPathItemCacheValid() const = 0;
90 
95  virtual void ChildInvalidated(IPMUnknown* iChild) = 0;
96 };
97 
98 #endif