From aebf2cb7812c8f593b85182611b587e6014aefc6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 May 2014 11:57:08 +0100 Subject: Re-work Subtitle class; remove STL text writer. --- src/stl_binary_writer.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/stl_binary_writer.h (limited to 'src/stl_binary_writer.h') diff --git a/src/stl_binary_writer.h b/src/stl_binary_writer.h new file mode 100644 index 0000000..7dbf5a5 --- /dev/null +++ b/src/stl_binary_writer.h @@ -0,0 +1,47 @@ +/* + Copyright (C) 2014 Carl Hetherington + + This program 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, + 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. + +*/ + +#include +#include + +namespace sub { + +class Subtitle; + +extern void write_stl_binary ( + std::list subtitles, + float frames_per_second, + std::string language, + std::string original_programme_title, + std::string original_episode_title, + std::string translated_programme_title, + std::string translated_episode_title, + std::string translator_name, + std::string translator_contact_details, + std::string creation_date, + std::string revision_date, + int revision_number, + std::string country_of_origin, + std::string publisher, + std::string editor_name, + std::string editor_contact_details, + boost::filesystem::path file_name + ); + +} -- cgit v1.2.3