1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage PCX handler
4 // Author: Guillermo Rodriguez Garcia <guille@iies.es>
6 // Copyright: (c) 1999 Guillermo Rodriguez Garcia
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_IMAGPCX_H_
11 #define _WX_IMAGPCX_H_
16 //-----------------------------------------------------------------------------
18 //-----------------------------------------------------------------------------
21 class WXDLLIMPEXP_CORE wxPCXHandler
: public wxImageHandler
26 m_name
= wxT("PCX file");
27 m_extension
= wxT("pcx");
28 m_type
= wxBITMAP_TYPE_PCX
;
29 m_mime
= wxT("image/pcx");
33 virtual bool LoadFile( wxImage
*image
, wxInputStream
& stream
, bool verbose
=true, int index
=-1 );
34 virtual bool SaveFile( wxImage
*image
, wxOutputStream
& stream
, bool verbose
=true );
36 virtual bool DoCanRead( wxInputStream
& stream
);
37 #endif // wxUSE_STREAMS
40 DECLARE_DYNAMIC_CLASS(wxPCXHandler
)