Definition at line 55 of file Import.cpp.
◆ ImportProgressResultProxy()
anonymous_namespace{Import.cpp}::ImportProgressResultProxy::ImportProgressResultProxy |
( |
ImportProgressListener * |
listener | ) |
|
|
inline |
Definition at line 61 of file Import.cpp.
63 {
64
65 }
ImportProgressListener * mListener
◆ GetResult()
ImportResult anonymous_namespace{Import.cpp}::ImportProgressResultProxy::GetResult |
( |
| ) |
const |
|
inlinenoexcept |
◆ OnImportFileOpened()
bool anonymous_namespace{Import.cpp}::ImportProgressResultProxy::OnImportFileOpened |
( |
ImportFileHandle & |
importFileHandle | ) |
|
|
inlineoverridevirtual |
Called by Importer when it attempts to import file using registered ImportPlugin instance Could be called more than once, but for each call there will be a complementary call to OnImportResult
- Parameters
-
importFileHandle | file handle created by ImportPlugin instance |
- Returns
- Implementation may return false to abort import process
Implements ImportProgressListener.
Definition at line 67 of file Import.cpp.
68 {
72 return true;
73 }
virtual bool OnImportFileOpened(ImportFileHandle &importFileHandle)=0
◆ OnImportProgress()
void anonymous_namespace{Import.cpp}::ImportProgressResultProxy::OnImportProgress |
( |
double |
progress | ) |
|
|
inlineoverridevirtual |
Used to report on import progress [optional]
- Parameters
-
progress | import progress in range [0, 1] |
Implements ImportProgressListener.
Definition at line 75 of file Import.cpp.
76 {
79 }
virtual void OnImportProgress(double progress)=0
◆ OnImportResult()
void anonymous_namespace{Import.cpp}::ImportProgressResultProxy::OnImportResult |
( |
ImportResult |
result | ) |
|
|
inlineoverridevirtual |
Used to report on import result for file handle passed as argument to OnImportFileOpened.
Implements ImportProgressListener.
Definition at line 81 of file Import.cpp.
82 {
86 }
virtual void OnImportResult(ImportResult result)=0
Used to report on import result for file handle passed as argument to OnImportFileOpened.
◆ mListener
◆ mResult
The documentation for this class was generated from the following file: