web_result.h
1 // Copyright 2018 Citra 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