1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage handler for Amiga IFF images
4 // Author: Steffen Gutmann
5 // Copyright: (c) Steffen Gutmann, 2002
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
9 #ifndef _WX_IMAGE_IFF_H_
10 #define _WX_IMAGE_IFF_H_
14 //-----------------------------------------------------------------------------
16 //-----------------------------------------------------------------------------
18 #if wxUSE_IMAGE && wxUSE_IFF
20 class WXDLLIMPEXP_CORE wxIFFHandler
: public wxImageHandler
25 m_name
= wxT("IFF file");
26 m_extension
= wxT("iff");
27 m_type
= wxBITMAP_TYPE_IFF
;
28 m_mime
= wxT("image/x-iff");
32 virtual bool LoadFile(wxImage
*image
, wxInputStream
& stream
, bool verbose
=true, int index
=-1);
33 virtual bool SaveFile(wxImage
*image
, wxOutputStream
& stream
, bool verbose
=true);
35 virtual bool DoCanRead(wxInputStream
& stream
);
38 DECLARE_DYNAMIC_CLASS(wxIFFHandler
)
41 #endif // wxUSE_IMAGE && wxUSE_IFF
43 #endif // _WX_IMAGE_IFF_H_