1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-15 18:58:55 +01:00
Clementine-audio-player-Mac.../3rdparty/keychain/kwallet_keychain.h
2011-02-18 20:14:01 +00:00

32 lines
711 B
C++

#ifndef KWALLET_KEYCHAIN_H
#define KWALLET_KEYCHAIN_H
#include "keychain.h"
#include "kwallet.h"
class KWalletKeychain : public Keychain {
public:
KWalletKeychain();
virtual ~KWalletKeychain();
virtual const QString getPassword(const QString& account);
virtual bool setPassword(const QString& account, const QString& password);
virtual bool isAvailable();
virtual const QString& implementationName() const { return kImplementationName; }
static const QString kImplementationName;
private:
org::kde::KWallet kwallet_;
QString wallet_name_;
int handle_;
static const QString kKWalletServiceName;
static const QString kKWalletPath;
static const QString kKWalletFolder;
};
#endif