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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user