#include <IChromiumImportHelper.h>
|
| enum | { kDefaultIID = IID_ICHROMIUMIMPORTHELPER } |
| |
A class deriving from IChromiumImportHelper interface gets invoked for importing incoming JSON data from CEP drag drop operations when the source attribute in the JSON data matches with the source attribute of that class.
| virtual const char* IChromiumImportHelper::GetSourceAttribute | ( | | ) | |
| pure virtual |
Obtain the value of source attribute this import helper is interested in.
- Returns
- A non-null string indicating the expected value of the source attribute that this import helper is interested in. The string is owned by the import helper.
| virtual void IChromiumImportHelper::ImportData | ( | std::stringstream & | jsonDataStringStream, | | | UIFlags | uiFlags | | ) | | |
| pure virtual |
Import the incoming JSON data - only invoked if the import helper supports the source attribute and its source attribute matches the source attribute in the incoming JSON data.
- Parameters
| jsonDataStringStream | is the incoming JSON data. |
| uiFlags | whether the import operation can show UI or not. |
| virtual bool16 IChromiumImportHelper::IsSupportingSourceAttributeInJsonData | ( | | ) | |
| pure virtual |
Whether the import helper supports the source attribute in JSON data or not. The import helper is ignored if it returns kFalse.
- Returns
- kTrue if the import helper supports the source attribute in JSON data.