first stubs
[ecparse.git] / FileReaderInput.h
diff --git a/FileReaderInput.h b/FileReaderInput.h
new file mode 100644 (file)
index 0000000..4398bbf
--- /dev/null
@@ -0,0 +1,25 @@
+/**
+ * © 2008 by David Roden <droden@gmail.com>
+ */
+
+#ifndef __ECPARSE_FILEREADERINPUT_H__
+#define __ECPARSE_FILEREADERINPUT_H__
+
+#include <stdio.h>
+#include "ReaderInput.h"
+
+class FileReaderInput : public ReaderInput {
+
+public:
+       FileReaderInput(FILE *file);
+       ~FileReaderInput();
+
+       int read(void* buffer, size_t length);
+
+private:
+       FILE* file;
+
+};
+
+#endif
+