Put WebResult into a seperate file

This commit is contained in:
fearlessTobi 2018-10-26 17:01:00 +02:00
parent 6fb6737642
commit d28233961b
4 changed files with 29 additions and 18 deletions

View file

@ -9,23 +9,7 @@
#include <string>
#include <vector>
#include "common/common_types.h"
namespace Common {
struct WebResult {
enum class Code : u32 {
Success,
InvalidURL,
CredentialsMissing,
LibError,
HttpError,
WrongContent,
NoWebservice,
};
Code result_code;
std::string result_string;
std::string returned_data;
};
} // namespace Common
#include "common/web_result.h"
namespace AnnounceMultiplayerRoom {