1 // ----------------------------------------------------------------------------
4 // Author: Guilhem Lavaux
5 // Created: February 1998
7 // Copyright: (C) 1998, Guilhem Lavaux
8 // License: wxWindows license
9 // ----------------------------------------------------------------------------
11 #ifndef __VID_windows_H__
12 #define __VID_windows_H__
15 #pragma interface "vidwin.h"
18 // ----------------------------------------------------------------------------
20 // ----------------------------------------------------------------------------
21 // For compilers that support precompilation, includes "wx/wx.h".
22 #include "wx/wxprec.h"
28 // for all others, include the necessary headers (this file is usually all you
29 // need because it includes almost all "standard" wxWindows headers
31 #include "wx/string.h"
32 #include "wx/stream.h"
33 #include "wx/window.h"
36 // ----------------------------------------------------------------------------
41 // ----------------------------------------------------------------------------
42 // System headers and private types
44 #ifdef WXMMEDIA_INTERNAL
48 typedef struct VIDW_Internal
{
53 // ----------------------------------------------------------------------------
56 class WXDLLEXPORT wxVideoWindows
: public wxVideoBaseDriver
{
57 DECLARE_DYNAMIC_CLASS(wxVideoWindows
)
59 struct VIDW_Internal
*m_internal
;
60 bool m_paused
, m_stopped
, m_remove_file
;
66 wxVideoWindows(wxInputStream
& str
);
67 wxVideoWindows(const wxString
& fname
);
68 ~wxVideoWindows(void);
75 bool Resize(wxUint16 w
, wxUint16 h
);
76 bool GetSize(wxSize
& size
) const;
78 bool IsCapable(wxVideoType v_type
);
80 bool AttachOutput(wxWindow
& output
);
81 void DetachOutput(void);