InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFileList.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Robin_Briggs
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 __IRecentDocsList__
25 #define __IRecentDocsList__
26 
27 #include "IPMUnknown.h"
28 #include "DocumentID.h"
29 
36 class IFileList : public IPMUnknown
37 {
38 public:
43  virtual int32 GetFileMax() const = 0;
44 
49  virtual void SetFileMax(int32 newDocCount) = 0;
50 
55  virtual int32 GetFileCount() const = 0;
56 
62  virtual const IDFile* GetNthFile(int32 n) = 0;
63 
70  virtual const PMString* GetNthPathName(int32 n) = 0;
71 
76  virtual void AddFile(const IDFile *addThis) = 0;
77 
82  virtual void RemoveFile(const IDFile *removeThis) = 0;
83 
88  virtual bool16 SystemPolicyProhibitsList (void) = 0;
89 
90  // ===============================================================
91  // For internal use only
92  // ===============================================================
93 
94  virtual void CleanList() = 0;
95 
96  // Internal really constant functions:
97 
98  virtual const IDFile* GetNthFileIntConst(int32 n) const = 0;
104  virtual bool IsFileCloudFile(int32 n) const =0;
105 };
106 
107 #endif // __IRecentDocsList__