X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c87527e89228b537800d06e1c32a62900417beb..b8ad9f18caf4f27071b4042339743fbf594a52b2:/include/wx/gifdecod.h?ds=sidebyside diff --git a/include/wx/gifdecod.h b/include/wx/gifdecod.h index 35e073fdc8..922ac29777 100644 --- a/include/wx/gifdecod.h +++ b/include/wx/gifdecod.h @@ -3,8 +3,8 @@ // Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation // Author: Guillermo Rodriguez Garcia // Version: 3.02 -// Last rev: 1999/08/18 -// Copyright: (c) Guillermo Rodriguez Garcia +// CVS-ID: $Id$ +// Copyright: (c) 1999 Guillermo Rodriguez Garcia // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,7 +17,8 @@ #include "wx/setup.h" -#if wxUSE_STREAMS +#if wxUSE_STREAMS && wxUSE_GIF + #include "wx/stream.h" #include "wx/image.h" @@ -46,12 +47,10 @@ typedef struct _IMAGEN /* error codes */ #define E_OK 0 /* everything was OK */ -#define E_ARCHIVO -1 /* error opening file */ -#define E_FORMATO -2 /* error in gif header */ -#define E_MEMORIA -3 /* error allocating memory */ - +#define E_FORMATO 1 /* error in gif header */ +#define E_MEMORIA 2 /* error allocating memory */ -class wxGIFDecoder +class WXDLLEXPORT wxGIFDecoder { private: /* logical screen */ @@ -117,6 +116,6 @@ public: }; -#endif // wxUSE_STREAM +#endif // wxUSE_STREAM && wxUSE_GIF #endif // _WX_GIFDECOD_H