free line after parsing link
[ecparse.git] / CollectionReader.h
index 5e10c51..ef71c72 100644 (file)
@@ -5,6 +5,8 @@
 #pragma once
 
 #include "ReaderInput.h"
+#include "ED2KLink.h"
+#include "GrowingBuffer.h"
 
 class CollectionReader {
 
@@ -12,8 +14,19 @@ public:
        CollectionReader(ReaderInput* readerInput);
        ~CollectionReader();
 
+       ED2KLink* getNextLink();
+
+private:
+       void identifyCollectionType();
+       bool isLineBreakPresent();
+       void readMoreBytes();
+
 private:
        ReaderInput* readerInput;
+       GrowingBuffer growingBuffer;
+       int version;
+       bool firstLink;
+       bool isTextCollection;
 
 };