]> git.saurik.com Git - wxWidgets.git/blame - include/wx/imagbmp.h
don't process VK_OEM_XXX key presses
[wxWidgets.git] / include / wx / imagbmp.h
CommitLineData
8f493002
VS
1/////////////////////////////////////////////////////////////////////////////
2// Name: imagbmp.h
3// Purpose: wxImage BMP handler
4// Author: Robert Roebling
5// RCS-ID: $Id$
6// Copyright: (c) Robert Roebling
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef _WX_IMAGBMP_H_
11#define _WX_IMAGBMP_H_
12
13#ifdef __GNUG__
14#pragma interface "imagbmp.h"
15#endif
16
17#include "wx/image.h"
18
f6bcfd97 19// ----------------------------------------------------------------------------
8f493002 20// wxBMPHandler
f6bcfd97 21// ----------------------------------------------------------------------------
8f493002 22
f6bcfd97 23class WXDLLEXPORT wxBMPHandler : public wxImageHandler
8f493002 24{
8f493002 25public:
f6bcfd97 26 wxBMPHandler()
8f493002 27 {
f6bcfd97
BP
28 m_name = _T("BMP file");
29 m_extension = _T("bmp");
8f493002 30 m_type = wxBITMAP_TYPE_BMP;
f6bcfd97 31 m_mime = _T("image/bmp");
8f493002
VS
32 };
33
34#if wxUSE_STREAMS
f6bcfd97
BP
35 virtual bool SaveFile( wxImage *image, wxOutputStream& stream, bool verbose=TRUE );
36
8f493002
VS
37 virtual bool LoadFile( wxImage *image, wxInputStream& stream, bool verbose=TRUE, int index=0 );
38 virtual bool DoCanRead( wxInputStream& stream );
f6bcfd97
BP
39#endif // wxUSE_STREAMS
40
41 DECLARE_DYNAMIC_CLASS(wxBMPHandler)
8f493002
VS
42};
43
44
45#endif
46 // _WX_IMAGBMP_H_
47