mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
UI work...
This commit is contained in:
parent
0adc91d6cb
commit
bf02c6661a
5 changed files with 59 additions and 12 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <QMainWindow>
|
||||
|
||||
#include "../node/Node.hpp"
|
||||
#include "../node/Utils.hpp"
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
|
@ -11,7 +12,7 @@ class MainWindow;
|
|||
|
||||
// Globally visible instance of local client for communicating with ZT1
|
||||
// Can be null if not connected, or will point to current
|
||||
extern ZeroTier::Node::LocalClient *zeroTierClient;
|
||||
extern ZeroTier::Node::LocalClient *volatile zeroTierClient;
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
|
@ -21,6 +22,9 @@ public:
|
|||
explicit MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
||||
protected:
|
||||
virtual void timerEvent(QTimerEvent *event);
|
||||
|
||||
private slots:
|
||||
void on_joinNetworkButton_clicked();
|
||||
void on_actionAbout_triggered();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue