diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-19 14:36:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-19 23:45:23 +0100 |
| commit | 507a389e9c5f84ec1d51e7566e38fbf42f658537 (patch) | |
| tree | 5387a0ae0555126fd278b3ab6b496bb3cd8f9fb3 /src/wx | |
| parent | 491176352b80bea000564e6662738722185be721 (diff) | |
PlainText -> PlainTextFile.
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/content_panel.cc | 8 | ||||
| -rw-r--r-- | src/wx/subtitle_appearance_dialog.cc | 2 | ||||
| -rw-r--r-- | src/wx/subtitle_panel.cc | 6 | ||||
| -rw-r--r-- | src/wx/subtitle_view.cc | 5 | ||||
| -rw-r--r-- | src/wx/timing_panel.cc | 2 |
5 files changed, 12 insertions, 11 deletions
diff --git a/src/wx/content_panel.cc b/src/wx/content_panel.cc index 8a24b2170..70364106c 100644 --- a/src/wx/content_panel.cc +++ b/src/wx/content_panel.cc @@ -39,8 +39,8 @@ #include "lib/config.h" #include "lib/log.h" #include "lib/compose.hpp" -#include "lib/plain_text_content.h" -#include "lib/plain_text.h" +#include "lib/plain_text_file_content.h" +#include "lib/plain_text_file.h" #include <wx/wx.h> #include <wx/notebook.h> #include <wx/listctrl.h> @@ -258,11 +258,11 @@ ContentPanel::selection_changed () BOOST_FOREACH (shared_ptr<Content> i, selected ()) { DCPTime p; p = i->position(); - if (dynamic_pointer_cast<PlainTextContent>(i) && i->paths_valid()) { + if (dynamic_pointer_cast<PlainTextFileContent>(i) && i->paths_valid()) { /* Rather special case; if we select a text subtitle file jump to its first subtitle. */ - PlainText ts (dynamic_pointer_cast<PlainTextContent>(i)); + PlainTextFile ts (dynamic_pointer_cast<PlainTextFileContent>(i)); if (ts.first()) { p += DCPTime(ts.first().get(), _film->active_frame_rate_change(i->position())); } diff --git a/src/wx/subtitle_appearance_dialog.cc b/src/wx/subtitle_appearance_dialog.cc index eb13a8f27..77109909f 100644 --- a/src/wx/subtitle_appearance_dialog.cc +++ b/src/wx/subtitle_appearance_dialog.cc @@ -20,7 +20,7 @@ #include "subtitle_appearance_dialog.h" #include "rgba_colour_picker.h" -#include "lib/plain_text_content.h" +#include "lib/plain_text_file_content.h" #include "lib/text_content.h" #include "lib/ffmpeg_subtitle_stream.h" #include "lib/ffmpeg_content.h" diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index 3308f40e9..84c02c428 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -26,10 +26,10 @@ #include "fonts_dialog.h" #include "subtitle_appearance_dialog.h" #include "lib/ffmpeg_content.h" -#include "lib/plain_text_content.h" +#include "lib/plain_text_file_content.h" #include "lib/ffmpeg_subtitle_stream.h" #include "lib/dcp_text_content.h" -#include "lib/plain_text_decoder.h" +#include "lib/plain_text_file_decoder.h" #include "lib/dcp_text_decoder.h" #include "lib/dcp_content.h" #include "lib/text_content.h" @@ -265,7 +265,7 @@ SubtitlePanel::setup_sensitivity () BOOST_FOREACH (shared_ptr<Content> i, sel) { /* These are the content types that could include subtitles */ shared_ptr<const FFmpegContent> fc = boost::dynamic_pointer_cast<const FFmpegContent> (i); - shared_ptr<const PlainText> sc = boost::dynamic_pointer_cast<const PlainText> (i); + shared_ptr<const PlainTextFileContent> sc = boost::dynamic_pointer_cast<const PlainTextFileContent> (i); shared_ptr<const DCPContent> dc = boost::dynamic_pointer_cast<const DCPContent> (i); shared_ptr<const DCPTextContent> dsc = boost::dynamic_pointer_cast<const DCPTextContent> (i); if (fc) { diff --git a/src/wx/subtitle_view.cc b/src/wx/subtitle_view.cc index a3d06106c..b2e74eb88 100644 --- a/src/wx/subtitle_view.cc +++ b/src/wx/subtitle_view.cc @@ -18,13 +18,14 @@ */ -#include "lib/plain_text_decoder.h" +#include "lib/plain_text_file_decoder.h" #include "lib/content_text.h" #include "lib/video_decoder.h" #include "lib/audio_decoder.h" #include "lib/film.h" #include "lib/config.h" -#include "lib/plain_text_content.h" +#include "lib/plain_text_file_content.h" +#include "lib/text_decoder.h" #include "subtitle_view.h" #include "film_viewer.h" #include "wx_util.h" diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index 67a659685..93ac02784 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -29,7 +29,7 @@ #include "lib/text_content.h" #include "lib/dcp_text_content.h" #include "lib/audio_content.h" -#include "lib/plain_text_content.h" +#include "lib/plain_text_file_content.h" #include "lib/video_content.h" #include <dcp/locale_convert.h> #include <boost/foreach.hpp> |
