Play-/Source/ScreenShotUtils.h

18 lines
395 B
C
Raw Normal View History

2017-04-09 06:48:27 +01:00
#pragma once
2017-04-09 06:48:27 +01:00
#include "PS2VM.h"
#include "gs/GSHandler.h"
2017-04-09 06:48:27 +01:00
class CScreenShotUtils
2017-04-09 06:48:27 +01:00
{
public:
2018-04-30 21:01:23 +01:00
typedef std::function<void(int, const char*)> Callback;
typedef CGSHandler::FlipCompleteEvent::Connection Connection;
2019-08-19 19:05:35 -04:00
static Connection TriggerGetScreenshot(CPS2VM*, Callback);
2017-04-09 06:48:27 +01:00
private:
2019-10-16 20:51:11 -04:00
static fs::path GetScreenShotDirectoryPath();
static fs::path GenerateScreenShotPath(const char* gameID);
2017-04-09 06:48:27 +01:00
};