mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-12-04 06:01:26 +09:00
* feat: add awg3.1 support * fix: add warning for big native awg qr codes * fix: show default subnet address if not exist in server config * fix: use range keep alive only with awg3 params * chore: update awg go versions in conan * chore: update awg-go version
21 lines
471 B
C++
21 lines
471 B
C++
#ifndef QRCODEUTILS_H
|
|
#define QRCODEUTILS_H
|
|
|
|
#include <QByteArray>
|
|
#include <QList>
|
|
#include <QString>
|
|
|
|
#include "qrcodegen.hpp"
|
|
|
|
namespace qrCodeUtils
|
|
{
|
|
constexpr const qint16 qrMagicCode = 1984;
|
|
|
|
QList<QString> generateQrCodeImageSeries(const QByteArray &data);
|
|
QString generatePlainQrCodeImage(const QByteArray &data);
|
|
qrcodegen::QrCode generateQrCode(const QByteArray &data);
|
|
QString svgToBase64(const QString &image);
|
|
};
|
|
|
|
#endif // QRCODEUTILS_H
|