mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-15 18:58:55 +01:00
22 lines
516 B
C++
22 lines
516 B
C++
#ifndef DEFAULT_KEYCHAIN_H
|
|
#define DEFAULT_KEYCHAIN_H
|
|
|
|
#include "keychain.h"
|
|
|
|
class DefaultKeychain : public Keychain {
|
|
public:
|
|
virtual ~DefaultKeychain() {}
|
|
virtual bool isAvailable() { return true; }
|
|
|
|
virtual const QString getPassword(const QString& account);
|
|
virtual bool setPassword(const QString& account, const QString& password);
|
|
|
|
virtual const QString& implementationName() const { return kImplementationName; }
|
|
|
|
static const QString kImplementationName;
|
|
private:
|
|
QString password_;
|
|
};
|
|
|
|
#endif
|