summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-01-23 20:58:26 +0100
committerCarl Hetherington <cth@carlh.net>2020-01-23 20:58:26 +0100
commit944ceca80f4452e6948fd7dd984c549299c49c52 (patch)
tree2317de0287659fbe2a123292e0a2b5a8e743931a /src/util.h
parent5850e1da92f2938609dd2a6289691293da5d3ad2 (diff)
Move the body of dumpsubs out into a method.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 9819e3c..738a02a 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net>
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
@@ -26,9 +26,12 @@
namespace sub {
+class Reader;
+
extern bool empty_or_white_space (std::string s);
extern void remove_unicode_bom (boost::optional<std::string>& line);
extern boost::optional<std::string> get_line_file (FILE* f);
extern boost::optional<std::string> get_line_string (std::string* s);
+extern void dump (boost::shared_ptr<const Reader> read, std::ostream& os);
}