1
// -*- Mode: C++; indent-tabs-mode: nil; tab-width: 2 -*-
3
* Copyright (C) 2015 Canonical Ltd
4
* 2015, National University of Defense Technology(NUDT) & Kylin Ltd
6
* This program is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 3 as
8
* published by the Free Software Foundation.
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
* Authored by: Marco Trevisan <marco.trevisan@canonical.com>
19
* handsome_feng <jianfengli@ubuntukylin.com>
22
#ifndef UNITY_KYLIN_LOCKSCREEN_SHIELD_H
23
#define UNITY_KYLIN_LOCKSCREEN_SHIELD_H
25
#include <UnityCore/ConnectionManager.h>
26
#include <UnityCore/GLibSource.h>
27
#include "LockScreenBaseShield.h"
34
class AbstractUserPromptView;
36
class KylinShield : public BaseShield
39
KylinShield(session::Manager::Ptr const&,
40
Accelerators::Ptr const&,
41
nux::ObjectPtr<AbstractUserPromptView> const&,
42
int monitor, bool is_primary);
45
nux::Area* FindKeyFocusArea(unsigned int, unsigned long, unsigned long) override;
48
void ShowPrimaryView() override;