UI.h 674 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2018 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <string>
  5. #include "Common/CommonTypes.h"
  6. namespace UI
  7. {
  8. void Error(const std::string& text);
  9. void SetDescription(const std::string& text);
  10. void SetTotalMarquee(bool marquee);
  11. void ResetTotalProgress();
  12. void SetTotalProgress(int current, int total);
  13. void SetCurrentMarquee(bool marquee);
  14. void ResetCurrentProgress();
  15. void SetCurrentProgress(int current, int total);
  16. void SetVisible(bool visible);
  17. void Stop();
  18. void Init();
  19. void Sleep(int seconds);
  20. void WaitForPID(u32 pid);
  21. void LaunchApplication(std::string path);
  22. bool IsTestMode();
  23. } // namespace UI