]>
git.saurik.com Git - wxWidgets.git/blob - utils/wxMMedia/vidwin.h
1 // /////////////////////////////////////////////////////////////////////////////
4 // Author: Guilhem Lavaux
5 // Created: February 1998
7 // Copyright: (C) 1998, Guilhem Lavaux
8 // License: wxWindows license
9 // /////////////////////////////////////////////////////////////////////////////
10 /* Real -*- C++ -*- */
11 #ifndef __VID_windows_H__
12 #define __VID_windows_H__
21 #include "wx/wxprec.h"
27 #ifdef WXMMEDIA_INTERNAL
31 typedef struct VIDW_Internal
{
36 class wxVideoWindows
: public wxVideoBaseDriver
{
37 DECLARE_DYNAMIC_CLASS(wxVideoWindows
)
39 struct VIDW_Internal
*internal
;
41 void OpenFile(const char *fname
);
44 wxVideoWindows(wxInputStream
& str
, bool seekable
= FALSE
);
45 wxVideoWindows(const char *fname
);
46 virtual ~wxVideoWindows(void);
48 virtual bool StartPlay(void);
49 virtual void StopPlay(void);
50 virtual bool Pause(void);
51 virtual bool Resume(void);
53 virtual bool SetVolume(wxUint8 vol
);
54 virtual bool Resize(wxUint16 w
, wxUint16 h
);
56 virtual bool IsCapable(wxVideoType v_type
);
58 virtual bool AttachOutput(wxVideoOutput
& output
);
59 virtual void DetachOutput(void);