|
|
@ -42,8 +42,8 @@ lt::storage_interface *customStorageConstructor(const lt::storage_params ¶ms |
|
|
|
|
|
|
|
|
|
|
|
CustomStorage::CustomStorage(const lt::storage_params ¶ms, lt::file_pool &filePool) |
|
|
|
CustomStorage::CustomStorage(const lt::storage_params ¶ms, lt::file_pool &filePool) |
|
|
|
: lt::default_storage {params, filePool} |
|
|
|
: lt::default_storage {params, filePool} |
|
|
|
|
|
|
|
, m_savePath {Utils::Fs::expandPathAbs(QString::fromStdString(params.path))} |
|
|
|
{ |
|
|
|
{ |
|
|
|
m_savePath = Utils::Fs::expandPathAbs(QString::fromStdString(params.path)); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
bool CustomStorage::verify_resume_data(const lt::add_torrent_params &rd, const lt::aux::vector<std::string, lt::file_index_t> &links, lt::storage_error &ec) |
|
|
|
bool CustomStorage::verify_resume_data(const lt::add_torrent_params &rd, const lt::aux::vector<std::string, lt::file_index_t> &links, lt::storage_error &ec) |
|
|
|