securestorageui.h

00001 /*
00002  * This file is part of signon
00003  *
00004  * Copyright (C) 2009-2010 Nokia Corporation.
00005  *
00006  * Contact: Aurel Popirtac <ext-aurel.popirtac@nokia.com>
00007  * Contact: Alberto Mardegan <alberto.mardegan@nokia.com>
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public License
00011  * version 2.1 as published by the Free Software Foundation.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00021  * 02110-1301 USA
00022  */
00028 #ifndef SECURESTORAGEUI_H
00029 #define SECURESTORAGEUI_H
00030 
00032 #define SSOUI_SECURE_STORAGE_REQUEST_TYPE QLatin1String("secureStorageUiRequestType")
00033 
00034 #define SSOUI_SECURE_STORAGE_REPLY_TYPE   QLatin1String("secureStorageUiReplyType")
00035 
00036 #define SSOUI_SECURE_STORAGE_REQUEST_ID   QLatin1String("secureStorageUiId")
00037 
00038 namespace SignOn {
00039 
00045 enum UiInteractionType
00046 {
00047     NoKeyPresent = 0,        
00048     NoAuthorizedKeyPresent,  
00050     KeyAuthorized,           
00051     StorageCleared           
00052 };
00053 
00059 enum UiReplyType
00060 {
00061     ClearPasswordsStorage,  
00063     UiRejected,             
00064 };
00065 
00066 } //namespace SignOn
00067 
00068 #endif //SECURESTORAGEUI_H