summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-10-21 09:08:00 +0200
committerGilles Caulier <[email protected]>2015-10-21 09:08:00 +0200
commitc420c9c49acb4e1130f53573cd99e7d229d47b6a (patch)
tree662c8b62280effb94ff81d92687b827228ce1151
parent385071c2b7326f4d5e59ecb70f07977b8e96e274 (diff)
polish API
-rw-r--r--src/interface.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interface.h b/src/interface.h
index 514ef60..d110be3 100644
--- a/src/interface.h
+++ b/src/interface.h
@@ -41,6 +41,7 @@
#include <QtCore/QVariant>
#include <QtCore/QList>
#include <QtCore/QUrl>
+#include <QtCore/QByteArray>
#include <QtGui/QImage>
// Local includes
@@ -254,6 +255,14 @@ public:
virtual bool hasIptc() = 0;
virtual bool hasXmp() = 0;
+ virtual QByteArray getExif() = 0;
+ virtual QByteArray getIptc() = 0;
+ virtual QByteArray getXmp() = 0;
+
+ virtual bool setExif(const QByteArray& data) = 0;
+ virtual bool setIptc(const QByteArray& data) = 0;
+ virtual bool setXmp(const QByteArray& data) = 0;
+
virtual bool supportXmp() = 0;
virtual bool canWriteXmp(const QUrl& url) = 0;