profile_select.h 624 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <functional>
  6. #include <optional>
  7. #include "common/uuid.h"
  8. namespace Core::Frontend {
  9. class ProfileSelectApplet {
  10. public:
  11. virtual ~ProfileSelectApplet();
  12. virtual void SelectProfile(std::function<void(std::optional<Common::UUID>)> callback) const = 0;
  13. };
  14. class DefaultProfileSelectApplet final : public ProfileSelectApplet {
  15. public:
  16. void SelectProfile(std::function<void(std::optional<Common::UUID>)> callback) const override;
  17. };
  18. } // namespace Core::Frontend