dolphin/Source/Core/UpdaterCommon/UI.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
674 B
C
Raw Normal View History

2018-03-27 22:28:40 +00:00
// Copyright 2018 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
2018-03-27 22:28:40 +00:00
#pragma once
#include <string>
2018-03-27 22:28:40 +00:00
#include "Common/CommonTypes.h"
2018-03-27 22:28:40 +00:00
namespace UI
{
2018-11-08 10:54:56 +00:00
void Error(const std::string& text);
2018-03-27 22:28:40 +00:00
void SetDescription(const std::string& text);
2018-11-15 08:01:29 +00:00
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);
void Stop();
void Init();
void Sleep(int seconds);
void WaitForPID(u32 pid);
void LaunchApplication(std::string path);
bool IsTestMode();
2018-03-27 22:28:40 +00:00
} // namespace UI