]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/imaggif.h
a674ee143da11cb1579cfb272ca2ad8e8cb2d8b3
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxImage GIF handler
4 // Author: Vaclav Slavik & Guillermo Rodriguez Garcia
6 // Copyright: (c) Guillermo Rodriguez Garcia
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
10 #ifndef _WX_IMAGGIF_H_
11 #define _WX_IMAGGIF_H_
13 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
14 #pragma interface "imaggif.h"
20 //-----------------------------------------------------------------------------
22 //-----------------------------------------------------------------------------
26 class WXDLLEXPORT wxGIFHandler
: public wxImageHandler
31 m_name
= wxT("GIF file");
32 m_extension
= wxT("gif");
33 m_type
= wxBITMAP_TYPE_GIF
;
34 m_mime
= wxT("image/gif");
38 virtual bool LoadFile( wxImage
*image
, wxInputStream
& stream
, bool verbose
=true, int index
=-1 );
39 virtual bool SaveFile( wxImage
*image
, wxOutputStream
& stream
, bool verbose
=true );
40 virtual bool DoCanRead( wxInputStream
& stream
);
44 DECLARE_DYNAMIC_CLASS(wxGIFHandler
)