InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAutoFindFileUtils.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 // This class defines an utility interface that attempts to automatically find/resolve
25 // missing files.
26 //
27 //========================================================================================
28 
29 #ifndef __IAutoFindFileUtils__
30 #define __IAutoFindFileUtils__
31 
32 #include "UtilitiesID.h"
33 
34 class IDFile;
35 class WideString;
36 class URI;
37 
44 {
45 public:
46  enum { kDefaultIID = IID_IAUTOFINDFILEUTILS };
47 
56  virtual bool16 AutoFindFile(const IDFile& dir, const IDFile& oldFile, IDFile* newFile) = 0;
57 
66  virtual bool AutoFindFile(const IDFile& dir, const IDFile& oldFile, IDFile& newFile) = 0;
67 
75  virtual void HFSPathToPOSIXPath(const WideString& hfsPath, WideString& posixPath) const = 0;
76 
85  virtual bool16 AutoFindFile(const IDFile& dir, const URI& oldURI, URI& newURI) = 0;
86 
87 };
88 
89 #endif // __IAutoFindFileUtils__