mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-24 19:27:27 +00:00
Move shared Updater logic into UpdaterCommon
This commit is contained in:
parent
25e9339746
commit
9c84524684
15 changed files with 810 additions and 1190 deletions
26
Source/Core/UpdaterCommon/UI.h
Normal file
26
Source/Core/UpdaterCommon/UI.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
// Copyright 2018 Dolphin Emulator Project
|
||||
// Licensed under GPLv2+
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace UI
|
||||
{
|
||||
void MessageLoop();
|
||||
void Error(const std::string& text);
|
||||
void Stop();
|
||||
|
||||
void SetDescription(const std::string& text);
|
||||
|
||||
void SetTotalMarquee(bool marquee);
|
||||
void ResetTotalProgress();
|
||||
void SetTotalProgress(int current, int total);
|
||||
|
||||
void SetCurrentMarquee(bool marquee);
|
||||
void ResetCurrentProgress();
|
||||
void SetCurrentProgress(int current, int total);
|
||||
|
||||
void SetVisible(bool visible);
|
||||
} // namespace UI
|
Loading…
Add table
Add a link
Reference in a new issue