diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-20 00:01:03 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-22 23:26:27 +0000 |
| commit | 8872a0a0028048e277a623fa08e8242dd43f4824 (patch) | |
| tree | de2966cbfbd96033fcc2539a6e20bd146812a7c3 /src/wx/controls.h | |
| parent | 1e76e9d06cb86cc7a29e5603097d74ab0057057f (diff) | |
Separate out SPL/SPLEntry; start trying to make player read SPLs sensibly.
Diffstat (limited to 'src/wx/controls.h')
| -rw-r--r-- | src/wx/controls.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/wx/controls.h b/src/wx/controls.h index 3bb963660..7cdd4a0d2 100644 --- a/src/wx/controls.h +++ b/src/wx/controls.h @@ -21,6 +21,7 @@ #include "lib/dcpomatic_time.h" #include "lib/types.h" #include "lib/film.h" +#include "lib/spl.h" #include <wx/wx.h> #include <boost/shared_ptr.hpp> #include <boost/signals2.hpp> @@ -33,6 +34,7 @@ class PlayerVideo; class wxToggleButton; class wxListCtrl; class ContentView; +class SPL; namespace dcp { class CPL; @@ -73,7 +75,6 @@ private: void active_jobs_changed (boost::optional<std::string>); DCPTime nudge_amount (wxKeyboardState& ev); void image_changed (boost::weak_ptr<PlayerVideo>); - void film_change (ChangeType type, Film::Property p); void outline_content_changed (); void eye_changed (); void position_changed (); @@ -83,6 +84,7 @@ private: void update_content_directory (); void update_playlist_directory (); void config_changed (int property); + void spl_selection_changed (); typedef std::pair<boost::shared_ptr<dcp::CPL>, boost::filesystem::path> CPL; @@ -90,7 +92,7 @@ private: void pause_clicked (); void stop_clicked (); #endif - void add_playlist_to_list (boost::shared_ptr<Film> film); + void add_playlist_to_list (SPL spl); boost::shared_ptr<Film> _film; boost::shared_ptr<FilmViewer> _viewer; @@ -106,7 +108,7 @@ private: wxListCtrl* _spl_view; wxListCtrl* _current_spl_view; wxTextCtrl* _log; - std::vector<boost::shared_ptr<Film> > _playlists; + std::vector<SPL> _playlists; wxSlider* _slider; wxButton* _rewind_button; wxButton* _back_button; |
