19 #ifndef LIB_QUENTIER_PRIVATE_UTILITY_I_KEYCHAIN_SERVICE_H
20 #define LIB_QUENTIER_PRIVATE_UTILITY_I_KEYCHAIN_SERVICE_H
22 #include <quentier/utility/Linkage.h>
23 #include <quentier/utility/Macros.h>
24 #include <quentier/types/ErrorString.h>
81 friend QTextStream & operator<<(QTextStream & strm,
82 const ErrorCode::type errorCode);
85 virtual QUuid startWritePasswordJob(
const QString & service,
87 const QString & password) = 0;
88 virtual QUuid startReadPasswordJob(
const QString & service,
89 const QString & key) = 0;
90 virtual QUuid startDeletePasswordJob(
const QString & service,
91 const QString & key) = 0;
94 void writePasswordJobFinished(QUuid requestId, ErrorCode::type errorCode,
96 void readPasswordJobFinished(QUuid requestId, ErrorCode::type errorCode,
98 void deletePasswordJobFinished(QUuid requestId, ErrorCode::type errorCode,
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:44
Definition: IKeychainService.h:32
Definition: IKeychainService.h:44
type
Definition: IKeychainService.h:45
@ CouldNotDeleteEntry
Definition: IKeychainService.h:57
@ AccessDenied
Definition: IKeychainService.h:65
@ NoBackendAvailable
Definition: IKeychainService.h:69
@ EntryNotFound
Definition: IKeychainService.h:53
@ NotImplemented
Definition: IKeychainService.h:73
@ AccessDeniedByUser
Definition: IKeychainService.h:61