+public:
+ wxAnimationDecoder()
+ {
+ m_background = wxNullColour;
+ m_nFrames = 0;
+ }
+ virtual ~wxAnimationDecoder() { }
+
+
+ virtual bool Load( wxInputStream& stream ) = 0;
+ virtual bool CanRead( wxInputStream& stream ) const = 0;
+
+ virtual wxAnimationDecoder *Clone() const = 0;
+ virtual wxAnimationType GetType() const = 0;
+
+ // convert given frame to wxImage
+ virtual bool ConvertToImage(unsigned int frame, wxImage *image) const = 0;