device/include/netdisk.h
@@ -34,12 +34,17 @@ class Netdisk { private: std::string loginDataFile; protected: struct DeviceInfo { int startChannel; //起始通道号 int maxChannels; //最大通道数 }; protected: DeviceInfo deviceInfo; std::string deviceType; //设备类型 std::string loginUUID; std::string username; //用户名 @@ -67,9 +72,7 @@ virtual int downloadByTime(Netdisk_DownloadRequest &request, std::vector<std::string> *files) = 0; int getStartChannel() {return startChannel;} int getMaxChannels() {return maxChannels;} DeviceInfo getDeviceInfo() {return deviceInfo;} };