ASAPCabinetFE
 
Loading...
Searching...
No Matches
vps_database_updater.h File Reference

Defines the VpsDatabaseUpdater class for updating the VPS database in ASAPCabinetFE. More...

#include <string>
#include <fstream>
#include "core/ui/loading_progress.h"
+ Include dependency graph for vps_database_updater.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VpsDatabaseUpdater
 Updates the VPS database file in ASAPCabinetFE. More...
 

Detailed Description

Defines the VpsDatabaseUpdater class for updating the VPS database in ASAPCabinetFE.

This header provides the VpsDatabaseUpdater class, which manages the process of checking and downloading updates for the VPS database (vpsdb.json) from a remote source. The class uses CURL for HTTP requests, supports progress tracking via LoadingProgress, and is configurable via settings like update frequency and paths. The update process can be extended with configUI for custom URLs or frequency in the future.