summaryrefslogtreecommitdiff
path: root/project2/fileRows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r--project2/fileRows.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp
index 11a71ef..950bb39 100644
--- a/project2/fileRows.cpp
+++ b/project2/fileRows.cpp
@@ -1,4 +1,5 @@
#include "fileRows.h"
+#include "logger.h"
#include "rowProcessor.h"
#include "xmlObjectLoader.h"
#include "exceptions.h"
@@ -35,9 +36,11 @@ FileRows::execute(const RowProcessor * rp) const
FileStarChannel c(doOpen());
c.set_encoding(encoding);
gunichar ch;
+ begin();
while (c.read(ch) == Glib::IO_STATUS_NORMAL) {
this->pushChar(ch, rp);
}
+ end(rp);
}
FileStarChannel