b4ab960890a03efd72eee92a001b7cd2bf5984ce
[libsub.git] / src / stl_binary_writer.h
1 /*
2     Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 #ifndef LIBSUB_STL_BINARY_WRITER_H
21 #define LIBSUB_STL_BINARY_WRITER_H
22
23 #include "stl_binary_tables.h"
24 #include <string>
25 #include <boost/filesystem.hpp>
26
27 namespace sub {
28
29 class Subtitle;
30
31 extern void write_stl_binary (
32         std::list<Subtitle> subtitles,
33         float frames_per_second,
34         Language language,
35         std::string original_programme_title,
36         std::string original_episode_title,
37         std::string translated_programme_title,
38         std::string translated_episode_title,
39         std::string translator_name,
40         std::string translator_contact_details,
41         std::string creation_date,
42         std::string revision_date,
43         int revision_number,
44         std::string country_of_origin,
45         std::string publisher,
46         std::string editor_name,
47         std::string editor_contact_details,
48         boost::filesystem::path file_name
49         );
50
51 }
52
53 #endif