mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 12:02:48 +01:00
20 lines
454 B
C++
20 lines
454 B
C++
#ifndef MAC_KEYCHAIN_H
|
|
#define MAC_KEYCHAIN_H
|
|
|
|
#include "keychain.h"
|
|
|
|
class MacKeychain : public Keychain {
|
|
public:
|
|
virtual ~MacKeychain() {}
|
|
virtual bool isAvailable();
|
|
|
|
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;
|
|
};
|
|
|
|
#endif
|