00001 /**************************************************************************** 00002 ** $Id: qimageformatinterface_p.h,v 1.2 2003/07/10 02:40:11 llornkcor Exp $ 00003 ** 00004 ** ... 00005 ** 00006 ** Copyright (C) 1992-2002 Trolltech AS. All rights reserved. 00007 ** 00008 ** This file is part of the kernel module of the Qt GUI Toolkit. 00009 ** 00010 ** This file may be distributed under the terms of the Q Public License 00011 ** as defined by Trolltech AS of Norway and appearing in the file 00012 ** LICENSE.QPL included in the packaging of this file. 00013 ** 00014 ** This file may be distributed and/or modified under the terms of the 00015 ** GNU General Public License version 2 as published by the Free Software 00016 ** Foundation and appearing in the file LICENSE.GPL included in the 00017 ** packaging of this file. 00018 ** 00019 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition 00020 ** licenses may use this file in accordance with the Qt Commercial License 00021 ** Agreement provided with the Software. 00022 ** 00023 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00024 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00025 ** 00026 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for 00027 ** information about Qt Commercial License Agreements. 00028 ** See http://www.trolltech.com/qpl/ for QPL licensing information. 00029 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00030 ** 00031 ** Contact info@trolltech.com if any conditions of this licensing are 00032 ** not clear to you. 00033 ** 00034 **********************************************************************/ 00035 00036 #ifndef QIMAGEFORMATINTERFACE_P_H 00037 #define QIMAGEFORMATINTERFACE_P_H 00038 00039 #ifndef QT_H 00040 #include <private/qcom_p.h> 00041 #endif // QT_H 00042 00043 00044 // 00045 // W A R N I N G 00046 // ------------- 00047 // 00048 // This file is not part of the Qt API. It exists for the convenience 00049 // of internal files. This header file may change from version to version 00050 // without notice, or even be removed. 00051 // 00052 // We mean it. 00053 // 00054 // 00055 00056 #ifndef QT_NO_COMPONENT 00057 00058 // {04903F05-54B1-4726-A849-FB5CB097CA87} 00059 #ifndef IID_QImageFormat 00060 #define IID_QImageFormat QUuid( 0x04903f05, 0x54b1, 0x4726, 0xa8, 0x49, 0xfb, 0x5c, 0xb0, 0x97, 0xca, 0x87 ) 00061 #endif 00062 00063 class QImage; 00064 00065 struct Q_EXPORT QImageFormatInterface : public QFeatureListInterface 00066 { 00067 virtual QRESULT loadImage( const QString &format, const QString &filename, QImage * ) = 0; 00068 virtual QRESULT saveImage( const QString &format, const QString &filename, const QImage & ) = 0; 00069 00070 virtual QRESULT installIOHandler( const QString & ) = 0; 00071 }; 00072 00073 #endif // QT_NO_COMPONENT 00074 00075 #endif // QIMAGEFORMATINTERFACE_P_H
1.4.2