forked from frankosterfeld/qtkeychain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibsecret_p.h
More file actions
33 lines (23 loc) · 766 Bytes
/
libsecret_p.h
File metadata and controls
33 lines (23 loc) · 766 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
25
26
27
28
29
30
31
32
33
#ifndef QTKEYCHAIN_LIBSECRET_P_H
#define QTKEYCHAIN_LIBSECRET_P_H
#include <QLibrary>
#include "keychain_p.h"
class LibSecretKeyring : public QLibrary {
public:
static bool isAvailable();
static bool findPassword(const QString& user,
const QString& server,
QKeychain::JobPrivate* self);
static bool writePassword(const QString& display_name,
const QString& user,
const QString& server,
const QKeychain::JobPrivate::Mode type,
const QByteArray& password,
QKeychain::JobPrivate* self);
static bool deletePassword(const QString &key, const QString &service,
QKeychain::JobPrivate* self);
private:
LibSecretKeyring();
static LibSecretKeyring &instance();
};
#endif