2018-03-27 22:28:40 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-03-27 22:28:40 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-02-25 22:08:03 +00:00
|
|
|
#include <string>
|
2018-03-27 22:28:40 +00:00
|
|
|
|
2019-03-03 12:56:54 +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);
|
2019-02-25 22:08:03 +00:00
|
|
|
|
|
|
|
void SetVisible(bool visible);
|
2019-03-03 12:56:54 +00:00
|
|
|
|
|
|
|
void Stop();
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
void Sleep(int seconds);
|
|
|
|
void WaitForPID(u32 pid);
|
|
|
|
void LaunchApplication(std::string path);
|
2018-03-27 22:28:40 +00:00
|
|
|
} // namespace UI
|