qBittorrent
customstorage.cpp File Reference
#include "customstorage.h"
#include <libtorrent/download_priority.hpp>
#include <QDir>
#include "base/utils/fs.h"
#include "common.h"
Include dependency graph for customstorage.cpp:

Go to the source code of this file.

Functions

lt::storage_interface * customStorageConstructor (const lt::storage_params &params, lt::file_pool &pool)
 

Function Documentation

◆ customStorageConstructor()

lt::storage_interface* customStorageConstructor ( const lt::storage_params &  params,
lt::file_pool &  pool 
)

Definition at line 226 of file customstorage.cpp.

227 {
228  return new CustomStorage {params, pool};
229 }

Referenced by BitTorrent::Session::downloadMetadata(), and BitTorrent::Session::loadTorrent().

Here is the caller graph for this function: