summaryrefslogtreecommitdiff
path: root/include/Input.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Input.h')
-rw-r--r--include/Input.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/Input.h b/include/Input.h
new file mode 100644
index 0000000..81a48d8
--- /dev/null
+++ b/include/Input.h
@@ -0,0 +1,26 @@
+#ifndef __INPUT_H__
+#define __INPUT_H__
+#ifdef __cplusplus
+
+#include "String.h"
+#include "Handle.h"
+
+/*
+ * Cette classe sert à créer un fichier ouvert en lecture.
+ */
+
+class Input : public Handle {
+ public:
+ Input(String = "") throw (IOGeneral);
+ virtual ~Input() {}
+ virtual bool CanWrite();
+ virtual bool CanRead();
+ virtual String GetName();
+ protected:
+ String n;
+};
+
+#else
+#error This only works with a C++ compiler
+#endif
+#endif