summaryrefslogtreecommitdiffhomepage
path: root/qrcode.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-26 08:54:17 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-26 08:54:17 +0100
commitc9fa963e71258c5adfb71cf1996cd1bcb33df0bb (patch)
treea40d2260bf03ea5adfca798aef5d49d6a1984cad /qrcode.h
Start with copy of whiteboard
Diffstat (limited to 'qrcode.h')
-rw-r--r--qrcode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/qrcode.h b/qrcode.h
new file mode 100644
index 0000000..f37c318
--- /dev/null
+++ b/qrcode.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <string>
+
+namespace QRCode
+{
+ void init();
+
+ // returns PNG file contents
+ std::string getQRCode(const std::string& data);
+}