1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage PCX handler
4 // Author: Guillermo Rodriguez Garcia <guille@iies.es>
5 // Copyright: (c) 1999 Guillermo Rodriguez Garcia
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
10 #define _WX_IMAGPCX_H_
15 //-----------------------------------------------------------------------------
17 //-----------------------------------------------------------------------------
20 class WXDLLIMPEXP_CORE wxPCXHandler
: public wxImageHandler
25 m_name
= wxT("PCX file");
26 m_extension
= wxT("pcx");
27 m_type
= wxBITMAP_TYPE_PCX
;
28 m_mime
= wxT("image/pcx");
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
);
36 #endif // wxUSE_STREAMS
39 DECLARE_DYNAMIC_CLASS(wxPCXHandler
)