aboutsummaryrefslogtreecommitdiff
path: root/hw_html/html.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'hw_html/html.hpp')
-rw-r--r--hw_html/html.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/hw_html/html.hpp b/hw_html/html.hpp
new file mode 100644
index 0000000..f9f1c29
--- /dev/null
+++ b/hw_html/html.hpp
@@ -0,0 +1,21 @@
+#include <ctml.hpp>
+#include <stdio.h>
+
+class html
+{
+public:
+ enum error
+ {
+ OK,
+ INVALID_PATH,
+ OPEN_ERR,
+ WRITE_ERR
+ };
+
+ html();
+ virtual ~html();
+ error open(const char *path);
+
+protected:
+ FILE *f;
+};