1
0

add namespace

This commit is contained in:
2025-11-21 15:42:03 +08:00
parent 33ac4f1250
commit 16c1e1a782
8 changed files with 58 additions and 13 deletions

View File

@@ -1,6 +1,6 @@
#include "http.h"
#include "drive.h"
#include <qrcodegen/qrcodegen.h>
#include <qrcodegen.h>
#include <fmt/format.h>
void printQr(const std::string& text) {
@@ -23,7 +23,7 @@ void printQr(const std::string& text) {
int main(int argc, char* argv[]) {
curl_global_init(CURL_GLOBAL_ALL);
drive::ref c = new_drive(dt_alipan);
auto c = drive::new_drive(drive::dt_alipan);
if (!c->qrLogin(printQr)) return 1;
uint32_t choice = 0;