refactoring: replaced part of the code to work with new config classes
This commit is contained in:
parent
2d22a74b22
commit
65f60ab922
22 changed files with 637 additions and 595 deletions
|
@ -20,12 +20,19 @@ namespace apiv2
|
|||
QString end_date;
|
||||
};
|
||||
|
||||
struct AuthData
|
||||
{
|
||||
QString apiKey;
|
||||
};
|
||||
|
||||
struct ApiConfig {
|
||||
QVector<Country> availableCountries;
|
||||
|
||||
Subscription subscription;
|
||||
PublicKey publicKey;
|
||||
|
||||
AuthData authData;
|
||||
|
||||
QString serverCountryCode;
|
||||
QString serverCountryName;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue