diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-09 00:49:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-10 23:43:55 +0100 |
| commit | a8e31120a793f09ab56cc2847d76944ba698ba95 (patch) | |
| tree | 535148c71dca072b2c2b4639e7da2228db353334 /src/wx/video_view.h | |
| parent | f41818f14369f170475b7f2bde1a2dd856517b14 (diff) | |
Basics of OpenGL viewer.
Diffstat (limited to 'src/wx/video_view.h')
| -rw-r--r-- | src/wx/video_view.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/wx/video_view.h b/src/wx/video_view.h new file mode 100644 index 000000000..f4dec9c68 --- /dev/null +++ b/src/wx/video_view.h @@ -0,0 +1,38 @@ +/* + Copyright (C) 2019 Carl Hetherington <cth@carlh.net> + + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + DCP-o-matic is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + +#ifndef DCPOMATIC_VIDEO_VIEW_H +#define DCPOMATIC_VIDEO_VIEW_H + +#include <boost/shared_ptr.hpp> + +class Image; +class wxWindow; + +class VideoView +{ +public: + virtual ~VideoView () {} + + virtual void set_image (boost::shared_ptr<const Image> image) = 0; + virtual wxWindow* get () const = 0; +}; + +#endif |
