InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IImportCore.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
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 __IImportCore__
25 #define __IImportCore__
26 
27 #include "IPMUnknown.h"
28 #include "IImportProvider.h"
29 
30 class IOpenFileDialog;
31 class IDataBase;
32 class ICommand;
33 class FileTypeInfo;
34 
35 typedef void AddTypeRoutine(void *data, SysOSType type);
36 typedef void AddExtensionRoutine(void *data, const PMString *family, const PMString *newExtension);
37 
41 class IImportCore : public IPMUnknown
42 {
43 public:
48  virtual IOpenFileDialog * QueryPlaceFileDialog() = 0;
49 
60  virtual void MakeUIDFromLinkAssetUID(UID linkAssetUID, UIFlags flags, UIDRef * pImportedItem, IDataBase * db = nil, UID uidPreview = kInvalidUID) = 0;
61 
72  virtual void AddTypesAndExtensions(void *data, AddTypeRoutine *addType, AddExtensionRoutine *addExtension) = 0;
73 };
74 
75 #endif