mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-10 22:15:06 +12:00
Refactor http server
This commit is contained in:
parent
4a24a331da
commit
3a21661f45
5 changed files with 212 additions and 152 deletions
include
|
@ -63,6 +63,7 @@ class Emulator {
|
|||
|
||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
HttpServer httpServer;
|
||||
friend class HttpServer;
|
||||
#endif
|
||||
|
||||
// Keep the handle for the ROM here to reload when necessary and to prevent deleting it
|
||||
|
@ -93,8 +94,4 @@ class Emulator {
|
|||
bool loadELF(const std::filesystem::path& path);
|
||||
bool loadELF(std::ifstream& file);
|
||||
void initGraphicsContext();
|
||||
|
||||
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
|
||||
void pollHttpServer();
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue