increase version number to 0.1
[ecparse.git] / ReaderInput.h
index 8c6f7e2..ef43898 100644 (file)
@@ -2,8 +2,7 @@
  * © 2008 by David Roden <droden@gmail.com>
  */
 
-#ifndef __ECPARSE_READERINPUT_H__
-#define __ECPARSE_READERINPUT_H__
+#pragma once
 
 #include <stdio.h>
 
@@ -12,8 +11,8 @@ class ReaderInput {
 public:
        virtual ~ReaderInput();
 
-       virtual int read(void* buffer, size_t length) = 0;
+       virtual size_t read(void* buffer, size_t length) = 0;
+       virtual bool isEOF() = 0;
 
 };
 
-#endif