X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=CollectionReader.h;h=ef71c72736269ce56340860c88cd7cc24b3b4813;hb=80ddd7c4c2b1e9965df13b552538415d3caf8a83;hp=c01d00bd9ca296796777302681ee9e85c424476f;hpb=57efcbe2b1a7e6e19590602638a6ae8bbcae9b5a;p=ecparse.git diff --git a/CollectionReader.h b/CollectionReader.h index c01d00b..ef71c72 100644 --- a/CollectionReader.h +++ b/CollectionReader.h @@ -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; };