aboutsummaryrefslogtreecommitdiff
path: root/hw_html/html.hpp
blob: 103e588b90ba05723e296eae5a246b22cc99f03d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef HTML_HPP
#define HTML_HPP

#include <ctml.hpp>
#include <mcubase.hpp>
#include <stdio.h>

class html
{
public:
    enum error
    {
        OK,
        INVALID_PATH,
        OPEN_ERR,
        WRITE_ERR
    };

    html();
    virtual ~html();
    error open(const char *path);
    error add(const mcubase &reg);

protected:
    FILE *f;
};

#endif /* HTML_HPP */