Clementine-audio-player-Mac.../3rdparty/keychain/default_keychain.h

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