mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-25 08:27:48 +00:00
core: Replace all instances of ResultCode with Result
This commit is contained in:
parent
8e9a9b18c6
commit
c7890ebccc
140 changed files with 1133 additions and 1173 deletions
|
|
@ -74,7 +74,7 @@ void ProgressServiceBackend::CommitDirectory(std::string_view dir_name) {
|
|||
SignalUpdate();
|
||||
}
|
||||
|
||||
void ProgressServiceBackend::FinishDownload(ResultCode result) {
|
||||
void ProgressServiceBackend::FinishDownload(Result result) {
|
||||
impl.total_downloaded_bytes = impl.total_bytes;
|
||||
impl.status = DeliveryCacheProgressImpl::Status::Done;
|
||||
impl.result = result;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ struct DeliveryCacheProgressImpl {
|
|||
};
|
||||
|
||||
Status status;
|
||||
ResultCode result = ResultSuccess;
|
||||
Result result = ResultSuccess;
|
||||
DirectoryName current_directory;
|
||||
FileName current_file;
|
||||
s64 current_downloaded_bytes; ///< Bytes downloaded on current file.
|
||||
|
|
@ -90,7 +90,7 @@ public:
|
|||
void CommitDirectory(std::string_view dir_name);
|
||||
|
||||
// Notifies the application that the operation completed with result code result.
|
||||
void FinishDownload(ResultCode result);
|
||||
void FinishDownload(Result result);
|
||||
|
||||
private:
|
||||
explicit ProgressServiceBackend(Core::System& system, std::string_view event_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue