◆ VpinMdbClient()
VpinMdbClient::VpinMdbClient |
( |
const Settings & |
settings, |
|
|
LoadingProgress * |
progress = nullptr , |
|
|
const nlohmann::json * |
mediaDb = nullptr |
|
) |
| |
Constructs a VpinMdbClient instance.
- Parameters
-
settings | Application settings controlling download behavior. |
progress | Optional pointer to LoadingProgress for updates. |
mediaDb | Optional pre-loaded vpinmdb.json (if null, loads from data/vpinmdb.json). |
◆ downloadMedia()
bool VpinMdbClient::downloadMedia |
( |
std::vector< TableData > & |
tables | ) |
|
Downloads media for a list of tables and updates their media paths.
- Parameters
-
tables | Vector of TableData to process (updated with new media paths). |
- Returns
- True if any media was successfully downloaded.
The documentation for this class was generated from the following files: