X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e8482f24cfc00645607f8526fde38d39e0dcaa63..b808efdb885aa82a6c34a8278119bae63c7f4183:/contrib/include/wx/mmedia/vidbase.h diff --git a/contrib/include/wx/mmedia/vidbase.h b/contrib/include/wx/mmedia/vidbase.h index 8d5d1d55ed..631d2ea10b 100644 --- a/contrib/include/wx/mmedia/vidbase.h +++ b/contrib/include/wx/mmedia/vidbase.h @@ -5,7 +5,7 @@ // Created: 1997 // Updated: 1998 // Copyright: (C) 1997, 1998, Guilhem Lavaux -// CVS: $Id$ +// CVS: $Id$ // License: wxWindows license // ///////////////////////////////////////////////////////////////////////////// /* Real -*- C++ -*- */ @@ -27,7 +27,7 @@ #endif // for all others, include the necessary headers (this file is usually all you -// need because it includes almost all "standard" wxWindows headers +// need because it includes almost all "standard" wxWidgets headers #ifndef WX_PRECOMP #include "wx/defs.h" #include "wx/stream.h" @@ -36,6 +36,8 @@ #include "wx/frame.h" #endif +#include "wx/mmedia/defs.h" + // ---------------------------------------------------------------------------- // wxMMedia2 (video) types @@ -54,7 +56,7 @@ typedef enum { // ---------------------------------------------------------------------------- // Classes definition -class WXDLLEXPORT wxVideoBaseDriver : public wxObject { +class WXDLLIMPEXP_MMEDIA wxVideoBaseDriver : public wxObject { DECLARE_ABSTRACT_CLASS(wxVideoBaseDriver) protected: wxWindow *m_video_output; @@ -66,7 +68,7 @@ public: // Dtor virtual ~wxVideoBaseDriver(); - // Usual functions ... They all return FALSE in case of errors. + // Usual functions ... They all return false in case of errors. virtual bool Play() = 0; virtual bool Stop() = 0; virtual bool Pause() = 0; @@ -77,7 +79,7 @@ public: virtual bool GetSize(wxSize& size) const = 0; // Test the capability of the driver to handle the specified type - virtual bool IsCapable(wxVideoType WXUNUSED(v_type)) const { return FALSE; } + virtual bool IsCapable(wxVideoType WXUNUSED(v_type)) const { return false; } // Return the video codec name virtual wxString GetMovieCodec() const = 0; @@ -104,7 +106,7 @@ public: virtual bool IsStopped() const = 0; }; -WXDLLEXPORT wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv); +WXDLLIMPEXP_MMEDIA wxFrame *wxVideoCreateFrame(wxVideoBaseDriver *vid_drv); #endif