From 944ceca80f4452e6948fd7dd984c549299c49c52 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 Jan 2020 20:58:26 +0100 Subject: Move the body of dumpsubs out into a method. --- src/util.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/util.h') 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 + Copyright (C) 2012-2020 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 @@ -26,9 +26,12 @@ namespace sub { +class Reader; + extern bool empty_or_white_space (std::string s); extern void remove_unicode_bom (boost::optional& line); extern boost::optional get_line_file (FILE* f); extern boost::optional get_line_string (std::string* s); +extern void dump (boost::shared_ptr read, std::ostream& os); } -- cgit v1.2.3