home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / include / private / qimageformatinterface_p.h < prev    next >
C/C++ Source or Header  |  2001-09-20  |  741b  |  28 lines

  1. #ifndef QIMAGEFORMATINTERFACE_H
  2. #define QIMAGEFORMATINTERFACE_H
  3.  
  4. #ifndef QT_H
  5. #include <private/qcom_p.h>
  6. #endif // QT_H
  7.  
  8. #ifndef QT_NO_COMPONENT
  9.  
  10. // {04903F05-54B1-4726-A849-FB5CB097CA87} 
  11. #ifndef IID_QImageFormat
  12. #define IID_QImageFormat QUuid( 0x04903f05, 0x54b1, 0x4726, 0xa8, 0x49, 0xfb, 0x5c, 0xb0, 0x97, 0xca, 0x87 )
  13. #endif
  14.  
  15. class QImage;
  16.  
  17. struct Q_EXPORT QImageFormatInterface : public QFeatureListInterface
  18. {
  19.     virtual QRESULT loadImage( const QString &format, const QString &filename, QImage * ) = 0;
  20.     virtual QRESULT saveImage( const QString &format, const QString &filename, const QImage & ) = 0;
  21.  
  22.     virtual QRESULT installIOHandler( const QString & ) = 0;
  23. };
  24.  
  25. #endif // QT_NO_COMPONENT
  26.  
  27. #endif // QIMAGEFORMATINTERFACE_H
  28.