![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Interface for plugins which can import/export data to persistent storage. More...
#include "iimportexport.h"
Public Member Functions | |
virtual void | ImportSettings (const QByteArray &data)=0 |
Loads settings. More... | |
virtual void | ImportData (const QByteArray &data)=0 |
Loads data. More... | |
virtual QByteArray | ExportSettings () const =0 |
Saves settings. More... | |
virtual QByteArray | ExportData () const =0 |
Loads settings. More... | |
virtual | ~IImportExport () |
Virtual destructor. More... | |
Interface for plugins which can import/export data to persistent storage.
If a plugin can save/load its data and settings to the disk or some other persistent storage and wants LeechCraft to know about it, it should implement this interface.
Definition at line 21 of file iimportexport.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 84 of file iimportexport.h.
|
pure virtual |
Loads settings.
Saves the data into byte array which should be loadable with ImportData().
|
pure virtual |
Saves settings.
Saves the settings into byte array which should be loadable with ImportSettings().
|
pure virtual |
Loads data.
Loads the data from byte array previously retrieved from this plugin with ExportData.
[in] | data | Byte array with data. |
|
pure virtual |
Loads settings.
Loads the settings from byte array previously retrieved from this plugin with ExportSettings.
[in] | data | Byte array with settings. |