input/qobuz: add setting "format_id"

This commit is contained in:
Max Kellermann
2018-01-26 17:30:28 +01:00
parent fce061b544
commit 67693c6ad0
5 changed files with 29 additions and 4 deletions
+7 -1
View File
@@ -45,6 +45,7 @@ class QobuzClient final : QobuzLoginHandler {
const char *const app_id, *const app_secret;
const char *const device_manufacturer_id;
const char *const username, *const email, *const password;
const char *const format_id;
CurlInit curl;
@@ -72,7 +73,12 @@ public:
const char *_app_id, const char *_app_secret,
const char *_device_manufacturer_id,
const char *_username, const char *_email,
const char *_password);
const char *_password,
const char *_format_id);
const char *GetFormatId() const noexcept {
return format_id;
}
gcc_pure
CurlGlobal &GetCurl() noexcept;