summaryrefslogtreecommitdiff
path: root/src/wx/markers_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-03-15 00:52:56 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-10 23:43:42 +0100
commit8c365af343a15bee11af53fc6bc16487b83260d1 (patch)
tree452bee816404f09a3bd0defa2e1a6564059240a2 /src/wx/markers_dialog.h
parenta9ce4f64658979bc15c301b53c76846072fda0ef (diff)
Basics of setting and storing SMPTE CPL markers.
Diffstat (limited to 'src/wx/markers_dialog.h')
-rw-r--r--src/wx/markers_dialog.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/wx/markers_dialog.h b/src/wx/markers_dialog.h
new file mode 100644
index 000000000..fbbaa1aee
--- /dev/null
+++ b/src/wx/markers_dialog.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/>.
+
+*/
+
+#include <wx/wx.h>
+#include <boost/shared_ptr.hpp>
+#include <boost/weak_ptr.hpp>
+#include <list>
+
+class Marker;
+class Film;
+class FilmViewer;
+
+class MarkersDialog : public wxDialog
+{
+public:
+ MarkersDialog (wxWindow* parent, boost::weak_ptr<Film> film, boost::weak_ptr<FilmViewer> viewer);
+
+private:
+ std::list<boost::shared_ptr<Marker> > _markers;
+ boost::weak_ptr<Film> _film;
+};