mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 18:57:07 -07:00
Update switch gui HostInterface class to inherit from brls::List
This commit is contained in:
parent
7378b31bc1
commit
943e661af4
2 changed files with 9 additions and 12 deletions
|
@ -19,17 +19,15 @@
|
|||
#include "discoverymanager.h"
|
||||
#include "io.h"
|
||||
|
||||
class HostInterface
|
||||
class HostInterface : public brls::List
|
||||
{
|
||||
private:
|
||||
brls::TabFrame * root;
|
||||
IO * io;
|
||||
Host * host;
|
||||
Settings * settings;
|
||||
brls::List * hostList;
|
||||
bool connected = false;
|
||||
public:
|
||||
HostInterface(brls::List * hostList, IO * io, Host * host, Settings * settings);
|
||||
HostInterface(IO * io, Host * host, Settings * settings);
|
||||
~HostInterface();
|
||||
|
||||
static void Register(IO * io, Host * host,
|
||||
|
@ -52,7 +50,7 @@ class MainApplication
|
|||
DiscoveryManager * discoverymanager;
|
||||
IO * io;
|
||||
brls::TabFrame * rootFrame;
|
||||
std::map<Host *, brls::List *> host_menuitems;
|
||||
std::map<Host *, HostInterface *> host_menuitems;
|
||||
// add_host local settings
|
||||
std::string remote_display_name = "";
|
||||
std::string remote_addr = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue