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

25
src/common/web_result.h Normal file
View file

@ -0,0 +1,25 @@
// Copyright 2018 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <string>
#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