diff options
| author | 2020-08-22 19:23:22 -0400 | |
|---|---|---|
| committer | 2020-08-22 19:29:54 -0400 | |
| commit | ca5ed50655b744ae4d3242b2105676a43d1482e0 (patch) | |
| tree | ac342b98c89c4a15d536e8e1e98ea9f753154e32 /src/common/web_result.h | |
| parent | Merge pull request #4546 from lioncash/telemetry (diff) | |
| download | yuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.tar.gz yuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.tar.xz yuzu-ca5ed50655b744ae4d3242b2105676a43d1482e0.zip | |
web_service: Move web_result.h into web_service
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.
Diffstat (limited to 'src/common/web_result.h')
| -rw-r--r-- | src/common/web_result.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/common/web_result.h b/src/common/web_result.h deleted file mode 100644 index 8bfa2141d..000000000 --- a/src/common/web_result.h +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | // Copyright 2018 yuzu Emulator Project | ||
| 2 | // Licensed under GPLv2 or any later version | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <string> | ||
| 8 | #include "common/common_types.h" | ||
| 9 | |||
| 10 | namespace Common { | ||
| 11 | struct WebResult { | ||
| 12 | enum class Code : u32 { | ||
| 13 | Success, | ||
| 14 | InvalidURL, | ||
| 15 | CredentialsMissing, | ||
| 16 | LibError, | ||
| 17 | HttpError, | ||
| 18 | WrongContent, | ||
| 19 | NoWebservice, | ||
| 20 | }; | ||
| 21 | Code result_code; | ||
| 22 | std::string result_string; | ||
| 23 | std::string returned_data; | ||
| 24 | }; | ||
| 25 | } // namespace Common | ||