mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
22 lines
609 B
C++
22 lines
609 B
C++
#pragma once
|
|
|
|
#include <functional>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
#include "Common/File/Path.h"
|
|
#include "Common/UI/PopupScreens.h"
|
|
|
|
class LoadStateConfirmScreen : public UI::PopupScreen {
|
|
public:
|
|
LoadStateConfirmScreen(std::string_view saveStatePrefix, int slot, std::function<void(bool)> callback);
|
|
const char *tag() const override { return "LoadStateConfirm"; }
|
|
void CreatePopupContents(UI::ViewGroup *parent) override;
|
|
void TriggerFinish(DialogResult result) override;
|
|
private:
|
|
std::string saveStatePrefix_;
|
|
int slot_;
|
|
Path screenshotFilename_;
|
|
std::function<void(bool)> callback_;
|
|
};
|