Move webservice settings to own file

This commit is contained in:
Vitor Kiguchi 2020-08-20 04:46:35 -03:00
parent 88a4759702
commit fa0cb52a5d
14 changed files with 104 additions and 76 deletions

View file

@ -1,6 +1,8 @@
add_library(network STATIC
network.cpp
network.h
network_settings.cpp
network_settings.h
packet.cpp
packet.h
room.cpp

View file

@ -0,0 +1,11 @@
// Copyright 2020 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "network/network_settings.h"
namespace NetSettings {
Values values = {};
}

View file

@ -0,0 +1,19 @@
// Copyright 2020 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <string>
namespace NetSettings {
struct Values {
// WebService
bool enable_telemetry;
std::string web_api_url;
std::string citra_username;
std::string citra_token;
} extern values;
} // namespace NetSettings