00001 00006 /* 00007 =. This file is part of the Opie Project 00008 .=l. Copyright (C) 2004 Opie Developer Team <opie-devel@handhelds.org> 00009 .>+-= 00010 _;:, .> :=|. This library is free software; you can 00011 .> <`_, > . <= redistribute it and/or modify it under 00012 :`=1 )Y*s>-.-- : the terms of the GNU Library General Public 00013 .="- .-=="i, .._ License as published by the Free Software 00014 - . .-<_> .<> Foundation; either version 2 of the License, 00015 ._= =} : or (at your option) any later version. 00016 .%`+i> _;_. 00017 .i_,=:_. -<s. This library is distributed in the hope that 00018 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00019 : .. .:, . . . without even the implied warranty of 00020 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00021 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00022 ..}^=.= = ; Library General Public License for more 00023 ++= -. .` .: details. 00024 : = ...= . :.=- 00025 -. .:....=;==+<; You should have received a copy of the GNU 00026 -_. . . )=. = Library General Public License along with 00027 -- :-=` this library; see the file COPYING.LIB. 00028 If not, write to the Free Software Foundation, 00029 Inc., 59 Temple Place - Suite 330, 00030 Boston, MA 02111-1307, USA. 00031 00032 */ 00033 00034 00035 #ifndef OPIE_SEC_MULTIAUTHPASSWORD_H 00036 #define OPIE_SEC_MULTIAUTHPASSWORD_H 00037 00038 namespace Opie { 00039 namespace Security { 00040 00041 enum lockMode { 00042 IfPowerOn, 00043 IfResume, 00044 TestNow, 00045 LockNow }; 00055 class MultiauthPassword { 00056 00057 public: 00058 static void authenticate(int authMode = LockNow); 00059 static bool needToAuthenticate( bool atpoweron = false ); 00060 }; 00061 00062 00063 } 00064 } 00065 #endif
1.4.2