aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-21 19:33:35 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-03-21 19:33:35 -0500
commit70209f30bc6907ad545e33dc6e7de78cf63b9e9a (patch)
tree37371d95bcf65dc1a2de7e1b5c334904a87b745a /src/main.cpp
parentecf802d7c939fcc73838d19de546294bc1c89e33 (diff)
downloadayatana-indicator-display-70209f30bc6907ad545e33dc6e7de78cf63b9e9a.tar.gz
ayatana-indicator-display-70209f30bc6907ad545e33dc6e7de78cf63b9e9a.tar.bz2
ayatana-indicator-display-70209f30bc6907ad545e33dc6e7de78cf63b9e9a.zip
get greeter's IsActive property working
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 27e6bcc..6c111f1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,6 +19,8 @@
#include <src/exporter.h>
#include <src/rotation-lock.h>
+
+#include <src/greeter.h>
#include <src/usb-manager.h>
#include <src/usb-monitor.h>
@@ -61,6 +63,7 @@ main(int /*argc*/, char** /*argv*/)
static constexpr char const * ADB_SOCKET_PATH {"/dev/socket/adbd"};
static constexpr char const * PUBLIC_KEYS_FILENAME {"/data/misc/adb/adb_keys"};
auto usb_monitor = std::make_shared<GUDevUsbMonitor>();
+ auto greeter = std::make_shared<UnityGreeter>();
UsbManager usb_manager {ADB_SOCKET_PATH, PUBLIC_KEYS_FILENAME, usb_monitor};
// let's go!