From 992a1b3d2653ed527c2a301f80140bc35d84e832 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 2 Jan 2023 19:59:41 +0100 Subject: Switch from ImageMagick to GraphicsMagick for deterministic data; added tests --- qrcode.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'qrcode.h') diff --git a/qrcode.h b/qrcode.h index f6546f0..f37c318 100644 --- a/qrcode.h +++ b/qrcode.h @@ -2,4 +2,10 @@ #include -std::string getQRCode(const std::string& data); +namespace QRCode +{ + void init(); + + // returns PNG file contents + std::string getQRCode(const std::string& data); +} -- cgit v1.2.3