src/html.h

changeset 44
de22ded6d50a
parent 20
8639ccd855ba
--- a/src/html.h	Tue Feb 25 18:22:55 2025 +0100
+++ b/src/html.h	Tue Feb 25 18:46:17 2025 +0100
@@ -27,6 +27,7 @@
 
 #include <string>
 #include <chrono>
+#include <array>
 
 namespace html {
 
@@ -35,9 +36,9 @@
     void open(bool fragment);
     void close(bool fragment);
 
-    void h1(const std::string& heading);
-    void h2(const std::string& heading);
-    void table_begin(std::chrono::year y);
+    void heading_repo(const std::string& repo);
+    void heading_author(const std::string& author, unsigned int total_commits);
+    void table_begin(std::chrono::year y, const std::array<unsigned int, 12> &commits_per_month);
     void table_end();
     void row_begin(unsigned int row);
     void row_end();

mercurial