#ifndef QR_GENERATOR_H #define QR_GENERATOR_H #include #include namespace QRGenerator { /** * Generates QR code data for a given URL in SVG format * * @param url The URL to encode * @param size The size of the QR code in pixels * @param border The border size around the QR code in modules * @return String containing the QR code data in SVG format */ std::string generate_qr_code_svg(const std::string& url, int size = 256, int border = 4); /** * Generates a simple text-based QR code representation * * @param url The URL to encode * @param width The width of the text representation * @return String containing the text-based QR code */ std::string generate_qr_code_text(const std::string& url, int width = 40); } #endif // QR_GENERATOR_H