]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/imagbmp.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage BMP handler
4 // Author: Robert Roebling
6 // Copyright: (c) Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_IMAGBMP_H_
11 #define _WX_IMAGBMP_H_
14 #pragma interface "imagbmp.h"
19 // ----------------------------------------------------------------------------
21 // ----------------------------------------------------------------------------
23 class WXDLLEXPORT wxBMPHandler
: public wxImageHandler
28 m_name
= _T("BMP file");
29 m_extension
= _T("bmp");
30 m_type
= wxBITMAP_TYPE_BMP
;
31 m_mime
= _T("image/bmp");
35 virtual bool SaveFile( wxImage
*image
, wxOutputStream
& stream
, bool verbose
=TRUE
);
37 virtual bool LoadFile( wxImage
*image
, wxInputStream
& stream
, bool verbose
=TRUE
, int index
=0 );
38 virtual bool DoCanRead( wxInputStream
& stream
);
39 #endif // wxUSE_STREAMS
41 DECLARE_DYNAMIC_CLASS(wxBMPHandler
)