|
Krita Source Code Documentation
|
#include <kis_meta_data_io_backend.h>
Inheritance diagram for KisMetaData::IOBackend:Public Types | |
| enum | BackendType { Binary , Text } |
| enum | HeaderType { NoHeader , JpegHeader } |
Public Member Functions | |
| virtual bool | canSaveAllEntries (Store *store) const =0 |
| virtual QString | id () const =0 |
| virtual bool | loadFrom (Store *store, QIODevice *ioDevice) const =0 |
| virtual QString | name () const =0 |
| virtual bool | saveTo (const Store *store, QIODevice *ioDevice, HeaderType headerType=NoHeader) const =0 |
| virtual bool | supportLoading () const =0 |
| virtual bool | supportSaving () const =0 |
| virtual BackendType | type () const =0 |
| virtual | ~IOBackend () |
This is a the interface for input or output backend to KisMetaData. For instance, to add support to exif or xmp or iptc or dublin core or anything else, it is needed to extend this interface.
Definition at line 24 of file kis_meta_data_io_backend.h.
Tell whether the backend input/output from/to binary data or text (XML or RDF) data.
| Enumerator | |
|---|---|
| Binary | |
| Text | |
Definition at line 31 of file kis_meta_data_io_backend.h.
| Enumerator | |
|---|---|
| NoHeader | Don't append any header. |
| JpegHeader | Append Jpeg-style header. |
Definition at line 33 of file kis_meta_data_io_backend.h.
|
inlinevirtual |
Definition at line 39 of file kis_meta_data_io_backend.h.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
| store | the list of metadata to save |
| ioDevice | the device to where the metadata will be saved |
| headerType | determine if an header must be prepend to the binary header, and if it does, which type of header |
|
pure virtual |
|
pure virtual |
|
pure virtual |