src/html.h

changeset 7
d0f77dd2da42
parent 6
1040ba37d4c9
child 13
e714005f3e9d
equal deleted inserted replaced
6:1040ba37d4c9 7:d0f77dd2da42
24 24
25 #ifndef HTML_H 25 #ifndef HTML_H
26 #define HTML_H 26 #define HTML_H
27 27
28 #include <string> 28 #include <string>
29 #include <chrono>
29 30
30 namespace html { 31 namespace html {
31 32
32 static constexpr unsigned columns = 53; 33 static constexpr unsigned columns = 53;
33 34
39 void table_begin(int year); 40 void table_begin(int year);
40 void table_end(); 41 void table_end();
41 void row_begin(unsigned int weekday); 42 void row_begin(unsigned int weekday);
42 void row_end(); 43 void row_end();
43 void cell_out_of_range(); 44 void cell_out_of_range();
44 void cell(unsigned commits); 45 void cell(std::chrono::year_month_day ymd, unsigned commits);
45 46
46 } 47 }
47 48
48 #endif //HTML_H 49 #endif //HTML_H

mercurial