summaryrefslogtreecommitdiff
path: root/zen/read_txt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zen/read_txt.cpp')
-rw-r--r--zen/read_txt.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/zen/read_txt.cpp b/zen/read_txt.cpp
index 7566ff14..23649846 100644
--- a/zen/read_txt.cpp
+++ b/zen/read_txt.cpp
@@ -1,3 +1,9 @@
+// **************************************************************************
+// * This file is part of the FreeFileSync project. It is distributed under *
+// * GNU General Public License: http://www.gnu.org/licenses/gpl.html *
+// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
+// **************************************************************************
+
#include "read_txt.h"
using namespace zen;
@@ -42,7 +48,7 @@ std::string detectLineBreak(const Zstring& filename) //throw FileError
}
-ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak) : //throw FileError
+LineExtractor::LineExtractor(const Zstring& filename, const std::string& lineBreak) : //throw FileError
inputStream(filename), bufferLogBegin(buffer.begin()), lineBreak_(lineBreak)
{
if (lineBreak.empty())
@@ -50,7 +56,7 @@ ExtractLines::ExtractLines(const Zstring& filename, const std::string& lineBreak
}
-bool ExtractLines::getLine(std::string& output) //throw FileError
+bool LineExtractor::getLine(std::string& output) //throw FileError
{
warn_static("don't use lineBreak, but support any of r, n, rn!!!")
for (;;)
bgstack15