mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-27 19:25:58 +00:00
ca5ed50655
This is the only place it's actively used. It's also more appropriate for web-related structures to be within the web service target. Especially given this one doesn't rely on anything in the common library.
26 lines
531 B
C++
26 lines
531 B
C++
// 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"
|
|
|
|
namespace WebService {
|
|
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 WebService
|