X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fsubtitle_view.h;h=f88bb490f5e1b928cbf9b7d8c766e9d45f805779;hb=8457cc9b9437f7fb5f63f56723e04636ad4768b6;hp=338742afcaac5575f35bc58bc895b9757967106b;hpb=22b9f3b2090d8bdfe52cda1e69d3acbe874f1ce5;p=dcpomatic.git diff --git a/src/wx/subtitle_view.h b/src/wx/subtitle_view.h index 338742afc..f88bb490f 100644 --- a/src/wx/subtitle_view.h +++ b/src/wx/subtitle_view.h @@ -1,33 +1,39 @@ /* - Copyright (C) 2014 Carl Hetherington + Copyright (C) 2014-2016 Carl Hetherington - This program is free software; you can redistribute it and/or modify + 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. - This program is distributed in the hope that it will be useful, + 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 this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ +#include "lib/content_subtitle.h" #include #include #include -class SubtitleDecoder; +class Decoder; class SubtitleView : public wxDialog { public: - SubtitleView (wxWindow *, boost::shared_ptr, boost::shared_ptr, DCPTime position); + SubtitleView (wxWindow *, boost::shared_ptr, boost::shared_ptr, DCPTime position); + +private: + void data (ContentTextSubtitle cts); -private: wxListCtrl* _list; + int _subs; + boost::optional _frc; };