first not-really working implementation
[ecparse.git] / CollectionReader.h
index c01d00b..ef71c72 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "ReaderInput.h"
 #include "ED2KLink.h"
+#include "GrowingBuffer.h"
 
 class CollectionReader {
 
@@ -16,7 +17,16 @@ public:
        ED2KLink* getNextLink();
 
 private:
+       void identifyCollectionType();
+       bool isLineBreakPresent();
+       void readMoreBytes();
+
+private:
        ReaderInput* readerInput;
+       GrowingBuffer growingBuffer;
+       int version;
+       bool firstLink;
+       bool isTextCollection;
 
 };