6#include <QtCore/QIODevice>
14 class IProgressManager;
Consume information about progress of some process.
Interface providing reading and writing data objects via I/O-devices.
virtual bool IsDeviceOperationSupported(const istd::IChangeable &dataObject, const QIODevice &device, int deviceOperation) const =0
Returns true if object dataObject can be processed via defined I/O-device.
ErrorType
Possible operation errors.
@ UnsupportedArchiveVersion
The archive has a wrong/unsupported version.
@ NoDeviceAccess
Device could not be opened.
@ NoReadPermissions
No read access granted.
@ NoWritePermissions
No write access granted.
@ WriteOperationFailed
Writing the data was failed.
@ ReadOperationFailed
Reading the data was failed.
OperationState
Result of device-related operation.
@ Successful
Operation was successful.
@ Failed
Operation failed.
@ Canceled
Operation was aborted by user.
virtual OperationState ReadFromDevice(istd::IChangeable &data, QIODevice &device, ibase::IProgressManager *progressManagerPtr=nullptr) const =0
This function loads data data from the given I/O-device device.
virtual OperationState WriteToDevice(const istd::IChangeable &data, QIODevice &device, ibase::IProgressManager *progressManagerPtr=nullptr) const =0
This function writes data data to the given I/O-device device.
Common interface for data model objects, which can be changed.
Base interface for all used interfaces and implementations.
This namespace contains basic implementations of standard primitives on the component level.
Contains interfaces and implementations of file system related components.