-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathBaseCard.vala
More file actions
24 lines (19 loc) · 692 Bytes
/
BaseCard.vala
File metadata and controls
24 lines (19 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
* SPDX-License-Identifier: GPL-2.0-or-later
* SPDX-FileCopyrightText: 2018-2025 elementary, Inc. (https://elementary.io)
*
* Authors: Corentin Noël <corentin@elementary.io>
*/
public abstract class Greeter.BaseCard : Granite.Bin {
public signal void do_connect (string? credential = null);
protected const int ERROR_SHAKE_DURATION = 450;
public bool connecting { get; set; default = false; }
public bool need_password { get; set; default = false; }
public bool use_fingerprint { get; set; default = false; }
construct {
halign = CENTER;
valign = CENTER;
width_request = 350;
}
public abstract void wrong_credentials ();
}