diff options
author | fearlessTobi <thm.frey@gmail.com> | 2018-09-16 20:05:51 +0200 |
---|---|---|
committer | fearlessTobi <thm.frey@gmail.com> | 2018-10-02 15:30:48 +0200 |
commit | 4d139943f2407144d5f8e3dc5a673f24850d43d0 (patch) | |
tree | be24285a32c2b72b9756b69fd614f3d45c70ff41 /src/common/web_result.h | |
parent | Add submodules (diff) | |
download | yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.gz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.bz2 yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.lz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.xz yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.tar.zst yuzu-4d139943f2407144d5f8e3dc5a673f24850d43d0.zip |
Diffstat (limited to 'src/common/web_result.h')
-rw-r--r-- | src/common/web_result.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/common/web_result.h b/src/common/web_result.h new file mode 100644 index 000000000..13610a7ea --- /dev/null +++ b/src/common/web_result.h @@ -0,0 +1,24 @@ +// 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; +}; +} // namespace Commo
\ No newline at end of file |