projects
/
ecparse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
increase version number to 0.1
[ecparse.git]
/
ReaderInput.h
diff --git
a/ReaderInput.h
b/ReaderInput.h
index
8c6f7e2
..
ef43898
100644
(file)
--- a/
ReaderInput.h
+++ b/
ReaderInput.h
@@
-2,8
+2,7
@@
* © 2008 by David Roden <droden@gmail.com>
*/
* © 2008 by David Roden <droden@gmail.com>
*/
-#ifndef __ECPARSE_READERINPUT_H__
-#define __ECPARSE_READERINPUT_H__
+#pragma once
#include <stdio.h>
#include <stdio.h>
@@
-12,8
+11,8
@@
class ReaderInput {
public:
virtual ~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