mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 05:23:12 -07:00
Add switch #402 "add host" menu for remote connection
currently working on the "remove host" feature https://github.com/natinusala/borealis/issues/75
This commit is contained in:
parent
61823f7372
commit
d5945f1420
4 changed files with 190 additions and 67 deletions
|
@ -32,7 +32,9 @@ class HostInterface
|
|||
HostInterface(brls::List * hostList, IO * io, Host * host, Settings * settings);
|
||||
~HostInterface();
|
||||
|
||||
void Register(bool pin_incorrect);
|
||||
static void Register(IO * io, Host * host,
|
||||
Settings * settings, std::function<void()> success_cb = nullptr);
|
||||
void Register();
|
||||
void Wakeup(brls::View * view);
|
||||
void Connect(brls::View * view);
|
||||
void ConnectSession();
|
||||
|
@ -51,7 +53,13 @@ class MainApplication
|
|||
IO * io;
|
||||
brls::TabFrame * rootFrame;
|
||||
std::map<Host *, brls::List *> host_menuitems;
|
||||
// add_host local settings
|
||||
std::string remote_display_name = "";
|
||||
std::string remote_addr = "";
|
||||
int remote_ps4_version = 8000000;
|
||||
|
||||
bool BuildConfigurationMenu(brls::List *, Host * host = nullptr);
|
||||
void BuildAddHostConfigurationMenu(brls::List *);
|
||||
public:
|
||||
MainApplication(std::map<std::string, Host> * hosts,
|
||||
Settings * settings, DiscoveryManager * discoverymanager,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue