yuzu-fork/src/common/web_result.h

25 lines
490 B
C++
Raw Normal View History

2018-09-16 19:05:51 +01:00
// Copyright 2018 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <string>
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;
};
2018-09-17 16:16:01 +01:00
} // namespace Common