00001 /********************************************************************** 00002 ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. 00003 ** 00004 ** This file is part of the Qtopia Environment. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00015 ** 00016 ** Contact info@trolltech.com if any conditions of this licensing are 00017 ** not clear to you. 00018 ** 00019 **********************************************************************/ 00020 #ifndef IMAGECODECINTERFACE_H 00021 #define IMAGECODECINTERFACE_H 00022 00023 #include <qstringlist.h> 00024 #include <qpe/qcom.h> 00025 00026 #ifndef QT_NO_COMPONENT 00027 #ifndef IID_QtopiaImageCodec 00028 #define IID_QtopiaImageCodec QUuid(0x09bf6906, 0x1549, 0xbb4a, 0x18, 0xba, 0xb9, 0xe7, 0x0a, 0x6e, 0x4d, 0x1e) 00029 #endif 00030 #endif 00031 00032 00045 struct ImageCodecInterface : public QUnknownInterface 00046 { 00047 public: 00048 virtual QStringList keys() const = 0; 00049 virtual bool installIOHandler( const QString &format ) = 0; 00050 }; 00051 00052 #endif
1.4.2