1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-30 11:04:57 +01:00

22 lines
516 B
C
Raw Normal View History

#ifndef DEFAULT_KEYCHAIN_H
#define DEFAULT_KEYCHAIN_H
#include "keychain.h"
class DefaultKeychain : public Keychain {
public:
2011-02-18 20:14:01 +00:00
virtual ~DefaultKeychain() {}
virtual bool isAvailable() { return true; }
2011-02-18 20:14:01 +00:00
virtual const QString getPassword(const QString& account);
virtual bool setPassword(const QString& account, const QString& password);
2011-02-18 20:14:01 +00:00
virtual const QString& implementationName() const { return kImplementationName; }
2011-02-18 20:14:01 +00:00
static const QString kImplementationName;
private:
2011-02-19 18:24:01 +00:00
QString password_;
};
#endif