mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-12 02:08:30 +12:00
Merge remote-tracking branch 'upstream/master' into load_rom
This commit is contained in:
commit
b39e32fce0
4 changed files with 64 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include "helpers.hpp"
|
||||
|
||||
enum class HttpActionType { None, Screenshot, Key, LoadRom };
|
||||
enum class HttpActionType { None, Screenshot, Key, TogglePause, Reset, LoadRom };
|
||||
|
||||
class Emulator;
|
||||
namespace httplib {
|
||||
|
@ -44,6 +44,8 @@ class HttpAction {
|
|||
static std::unique_ptr<HttpAction> createScreenshotAction(DeferredResponseWrapper& response);
|
||||
static std::unique_ptr<HttpAction> createKeyAction(uint32_t key, bool state);
|
||||
static std::unique_ptr<HttpAction> createLoadRomAction(std::filesystem::path path, bool paused);
|
||||
static std::unique_ptr<HttpAction> createTogglePauseAction();
|
||||
static std::unique_ptr<HttpAction> createResetAction();
|
||||
};
|
||||
|
||||
struct HttpServer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue