Diffstat (limited to 'libopie2/opiesecurity/multiauthpassword.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiesecurity/multiauthpassword.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libopie2/opiesecurity/multiauthpassword.h b/libopie2/opiesecurity/multiauthpassword.h index fe276da..effdaa1 100644 --- a/libopie2/opiesecurity/multiauthpassword.h +++ b/libopie2/opiesecurity/multiauthpassword.h | |||
@@ -39,4 +39,9 @@ namespace Opie { | |||
39 | namespace Security { | 39 | namespace Security { |
40 | 40 | ||
41 | enum lockMode { | ||
42 | IfPowerOn, | ||
43 | IfResume, | ||
44 | TestNow, | ||
45 | LockNow }; | ||
41 | /** | 46 | /** |
42 | * This is the dropin replacement for the libqpe Password class. | 47 | * This is the dropin replacement for the libqpe Password class. |
@@ -49,7 +54,8 @@ namespace Security { | |||
49 | */ | 54 | */ |
50 | class MultiauthPassword { | 55 | class MultiauthPassword { |
56 | |||
51 | public: | 57 | public: |
58 | static void authenticate(int authMode = LockNow); | ||
52 | static bool needToAuthenticate( bool atpoweron = false ); | 59 | static bool needToAuthenticate( bool atpoweron = false ); |
53 | static void authenticate(bool atpoweron = false); | ||
54 | }; | 60 | }; |
55 | 61 | ||