InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IChromiumImportHelper.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Ramnik Singh
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 2017 Adobe
18 // All Rights Reserved.
19 //
20 // NOTICE: Adobe permits you to use, modify, and distribute this file in
21 // accordance with the terms of the Adobe license agreement accompanying
22 // it. If you have received this file from a source other than Adobe,
23 // then your use, modification, or distribution of it requires the prior
24 // written permission of Adobe.
25 //
26 //========================================================================================
27 
28 #ifndef __IChromiumImportHelper__
29 #define __IChromiumImportHelper__
30 
31 #include "IPMUnknown.h"
32 #include "CSXSID.h"
33 #include <sstream>
34 
39 {
40 public:
41 
42  enum { kDefaultIID = IID_ICHROMIUMIMPORTHELPER } ;
43 
48  virtual bool16 IsSupportingSourceAttributeInJsonData() = 0;
49 
54  virtual const char* GetSourceAttribute() = 0;
55 
61  virtual void ImportData(std::stringstream &jsonDataStringStream, UIFlags uiFlags) = 0;
62 };
63 
64 #endif