aboutsummaryrefslogtreecommitdiff
path: root/hw_html/html.hpp
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-09-19 03:42:03 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2020-09-21 19:59:38 +0200
commitdc0bb4c93c4915b939ad1ecdc0745e53dc1f0d0f (patch)
treed4ad07aa93b8ba9fe949a963b8210fbf36b5b30a /hw_html/html.hpp
parent0e001bd3d353a26ad527c5a7cedf11915c4a11ba (diff)
downloada9_free-dc0bb4c93c4915b939ad1ecdc0745e53dc1f0d0f.tar.gz
Work on xml-to-html converter for register documentation
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;
+};