diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-11-18 15:06:05 -0500 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-11-18 15:06:05 -0500 |
commit | 0adc91d6cb40e185de972b5fa588ac9607e1ac74 (patch) | |
tree | fbb86b7b2504559ae5656cf8cb0ddd0a42ce68e4 /ZeroTierUI/mainwindow.h | |
parent | 77bab135465a14d13f7835c7a9c3a53dc04496dd (diff) | |
download | infinitytier-0adc91d6cb40e185de972b5fa588ac9607e1ac74.tar.gz infinitytier-0adc91d6cb40e185de972b5fa588ac9607e1ac74.zip |
Add AppleScript to get authentication token and place in home directory, used for OSX GUI app to authenticate a user as authorized to admin ZT1.
Diffstat (limited to 'ZeroTierUI/mainwindow.h')
-rw-r--r-- | ZeroTierUI/mainwindow.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ZeroTierUI/mainwindow.h b/ZeroTierUI/mainwindow.h index b68ba4f7..f41e527b 100644 --- a/ZeroTierUI/mainwindow.h +++ b/ZeroTierUI/mainwindow.h @@ -3,10 +3,16 @@ #include <QMainWindow> +#include "../node/Node.hpp" + namespace Ui { 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; + class MainWindow : public QMainWindow { Q_OBJECT |