2018-03-27 16:28:40 -06:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-02-25 15:08:03 -07:00
|
|
|
#include <string>
|
2018-03-27 16:28:40 -06:00
|
|
|
|
2019-03-03 05:56:54 -07:00
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
|
2018-03-27 16:28:40 -06:00
|
|
|
namespace UI
|
|
|
|
{
|
2018-11-08 03:54:56 -07:00
|
|
|
void Error(const std::string& text);
|
2018-03-27 16:28:40 -06:00
|
|
|
|
|
|
|
void SetDescription(const std::string& text);
|
2018-11-15 01:01:29 -07: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 15:08:03 -07:00
|
|
|
|
|
|
|
void SetVisible(bool visible);
|
2019-03-03 05:56:54 -07:00
|
|
|
|
|
|
|
void Stop();
|
|
|
|
|
|
|
|
void Init();
|
|
|
|
void Sleep(int seconds);
|
|
|
|
void WaitForPID(u32 pid);
|
|
|
|
void LaunchApplication(std::string path);
|
2018-03-27 16:28:40 -06:00
|
|
|
} // namespace UI
|