~tatokis/unity/gcc-72-errors

« back to all changes in this revision

Viewing changes to lockscreen/LockScreenController.h

  • Committer: Bileto Bot
  • Author(s): Andrea Azzarone
  • Date: 2017-09-25 16:03:52 UTC
  • mfrom: (4253.3.3 fix-missing-entry-lockscreen)
  • Revision ID: ci-train-bot@canonical.com-20170925160352-kqd3v7i3wdwhixjn
Refactor the way UserAuthenticator is created and passed around. Handle failures to create new threads and fallback to a "Switch to greeter..." button in case of failure. (LP: #1311316)

Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
#include "LockScreenAcceleratorController.h"
30
30
#include "SuspendInhibitorManager.h"
31
31
#include "ScreenSaverDBusManager.h"
 
32
#include "UserAuthenticator.h"
32
33
#include "unity-shared/BackgroundEffectHelper.h"
33
34
#include "unity-shared/SystemdWrapper.h"
34
35
#include "unity-shared/UpstartWrapper.h"
95
96
  UpstartWrapper::Ptr upstart_wrapper_;
96
97
  ShieldFactoryInterface::Ptr shield_factory_;
97
98
  SuspendInhibitorManager::Ptr suspend_inhibitor_manager_;
 
99
  UserAuthenticator::Ptr user_authenticator_;
98
100
 
99
101
  nux::animation::AnimateValue<double> fade_animator_;
100
102
  nux::animation::AnimateValue<double> blank_window_animator_;