1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-01-17 21:30:15 -06:00
suyu-mirror/src/common/web_result.h

26 lines
523 B
C++
Raw Normal View History

2018-09-16 13:05:51 -05:00
// Copyright 2018 yuzu 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"
2018-09-16 13:05:51 -05:00
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 10:16:01 -05:00
} // namespace Common