summaryrefslogtreecommitdiff
path: root/library/imagecodecinterface.h
authorzecke <zecke>2004-02-06 15:48:42 (UTC)
committer zecke <zecke>2004-02-06 15:48:42 (UTC)
commitd1c1ce295b6522e52244c970010a9e42c0b614ae (patch) (side-by-side diff)
tree54e3fefdb0ea998e5c9117f245d6a615ce02200c /library/imagecodecinterface.h
parentb033733924e5d3454bb0a810c6a70d4ff0531d2b (diff)
downloadopie-d1c1ce295b6522e52244c970010a9e42c0b614ae.zip
opie-d1c1ce295b6522e52244c970010a9e42c0b614ae.tar.gz
opie-d1c1ce295b6522e52244c970010a9e42c0b614ae.tar.bz2
add api docu
Diffstat (limited to 'library/imagecodecinterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/imagecodecinterface.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/library/imagecodecinterface.h b/library/imagecodecinterface.h
index 8306b68..3b1cd7b 100644
--- a/library/imagecodecinterface.h
+++ b/library/imagecodecinterface.h
@@ -16,24 +16,37 @@
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef IMAGECODECINTERFACE_H
#define IMAGECODECINTERFACE_H
#include <qstringlist.h>
#include <qpe/qcom.h>
#ifndef QT_NO_COMPONENT
#ifndef IID_QtopiaImageCodec
#define IID_QtopiaImageCodec QUuid(0x09bf6906, 0x1549, 0xbb4a, 0x18, 0xba, 0xb9, 0xe7, 0x0a, 0x6e, 0x4d, 0x1e)
#endif
#endif
+
+/**
+ *
+ * \brief add Image Codecs
+ *
+ * This interface will be queried to add new Image loading
+ * and saving routines.
+ *
+ * The ImageCodec needs to be placed in OPIEDIR/plugins/imagecodecs.
+ *
+ * @see QImage
+ * @see QImageIO
+ **/
struct ImageCodecInterface : public QUnknownInterface
{
public:
virtual QStringList keys() const = 0;
virtual bool installIOHandler( const QString &format ) = 0;
};
#endif