1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 16:06:35 +01:00

Add an option to disable qr codes

This commit is contained in:
François-Xavier Carton
2018-06-16 05:07:16 +02:00
parent 68ce17a57f
commit 46f646afcf
14 changed files with 90 additions and 29 deletions

View File

@@ -23,6 +23,8 @@
#ifndef QR_CODE
#define QR_CODE
#ifdef QRCODE
#define QRCODE_FILENAME_EXT ".QRcode"
/* Converts a tox ID string into a QRcode and prints it into the given filename.
@@ -42,4 +44,6 @@ int ID_to_QRcode_txt(const char *tox_id, const char *outfile);
int ID_to_QRcode_png(const char *tox_id, const char *outfile);
#endif /* QRPNG */
#endif /* QRCODE */
#endif /* QR_CODE */