1
0

add alipan

This commit is contained in:
2024-02-02 17:18:44 +08:00
parent 7b9fc827ca
commit 33ac4f1250
12 changed files with 25400 additions and 13 deletions

View File

@@ -22,8 +22,10 @@ public:
typedef std::shared_ptr<drive> ref;
typedef void (*fnQrcode)(const std::string&);
virtual int qrLogin(fnQrcode printQr) = 0;
virtual bool qrLogin(fnQrcode printQr) = 0;
virtual std::vector<dItem> list(const std::string& file_id) = 0;
virtual std::string link(const std::string& file_id) = 0;
virtual void remove(const std::string& file_id) = 0;
virtual std::string mkdir(const std::string& parent_id, const std::string& name) = 0;
virtual std::string upload(const std::string& parent_id, const std::string& file) = 0;
};
@@ -32,4 +34,4 @@ public:
drive::ref new_drive(drive_type type);
std::string hex_encode(const unsigned char* data, size_t len);
std::string device_name();

24765
include/nlohmann/json.hpp Normal file

File diff suppressed because it is too large Load Diff