summaryrefslogtreecommitdiff
path: root/includes/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Input.h')
-rw-r--r--includes/Input.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/includes/Input.h b/includes/Input.h
new file mode 100644
index 0000000..418b018
--- /dev/null
+++ b/includes/Input.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <Handle.h>
+
+namespace Balau {
+
+class Input : public SeekableHandle {
+ public:
+ Input(const char * fname) throw (GeneralException);
+ virtual void close() throw (GeneralException);
+ virtual bool isClosed();
+ virtual const char * getName();
+ private:
+ int m_fd;
+ String m_name;
+};
+
+};