aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/eol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eol.h')
-rw-r--r--src/eol.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eol.h b/src/eol.h
index 81ed4ef..7c425a9 100644
--- a/src/eol.h
+++ b/src/eol.h
@@ -23,10 +23,11 @@
#include <glib.h>
#include "sciteco.h"
+#include "memory.h"
namespace SciTECO {
-class EOLReader {
+class EOLReader : public Object {
gchar *buffer;
gsize read_len;
guint offset;
@@ -91,7 +92,7 @@ public:
gchar *convert_all(gsize *out_len = NULL);
};
-class EOLWriter {
+class EOLWriter : public Object {
enum {
STATE_START = 0,
STATE_WRITE_LF