Move shared Updater logic into UpdaterCommon

This commit is contained in:
spycrab
2019-02-25 23:08:03 +01:00
parent 25e9339746
commit 9c84524684
15 changed files with 810 additions and 1190 deletions

View 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