+#endif
+};
+#endif
+
+//-----------------------------------------------------------------------------
+// wxJPEGHandler
+//-----------------------------------------------------------------------------
+
+#if wxUSE_LIBJPEG
+class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
+{
+ DECLARE_DYNAMIC_CLASS(wxJPEGHandler)
+
+public:
+
+ inline wxJPEGHandler()
+ {
+ m_name = "JPEG file";
+ m_extension = "jpg";
+ m_type = wxBITMAP_TYPE_JPEG;
+ m_mime = "image/jpeg";
+ };
+
+#if wxUSE_STREAMS
+ virtual bool LoadFile( wxImage *image, wxInputStream& stream );
+ virtual bool SaveFile( wxImage *image, wxOutputStream& stream );
+#endif