summaryrefslogtreecommitdiffhomepage
path: root/qrcode.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-02 19:59:41 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-02 19:59:41 +0100
commit992a1b3d2653ed527c2a301f80140bc35d84e832 (patch)
tree73981b8a28a0368f2b74b0369b1ecf649c908f77 /qrcode.h
parent20ceb53ec1c1bc18face8e831292dfe81fed3817 (diff)
Switch from ImageMagick to GraphicsMagick for deterministic data; added tests
Diffstat (limited to 'qrcode.h')
-rw-r--r--qrcode.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/qrcode.h b/qrcode.h
index f6546f0..f37c318 100644
--- a/qrcode.h
+++ b/qrcode.h
@@ -2,4 +2,10 @@
#include <string>
-std::string getQRCode(const std::string& data);
+namespace QRCode
+{
+ void init();
+
+ // returns PNG file contents
+ std::string getQRCode(const std::string& data);
+}