Remote disc streaming: Add an option for a "Remote" tab on the main screen

This commit is contained in:
Henrik Rydgård
2023-12-28 15:34:40 +01:00
parent 7ab979a387
commit 6ac4cc4559
6 changed files with 60 additions and 31 deletions
+5 -1
View File
@@ -85,7 +85,8 @@ protected:
class RemoteISOBrowseScreen : public MainScreen {
public:
RemoteISOBrowseScreen(const std::string &url, const std::vector<Path> &games);
RemoteISOBrowseScreen(const std::string &url, const std::vector<Path> &games)
: url_(url), games_(games) {}
const char *tag() const override { return "RemoteISOBrowse"; }
@@ -110,3 +111,6 @@ protected:
bool serverRunning_ = false;
};
std::string RemoteSubdir();
std::string FormatRemoteISOUrl(const char *host, int port, const char *subdir);