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/default_keychain.h
2011-02-19 18:24:01 +00:00

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