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

20 lines
454 B
C
Raw Normal View History

#ifndef MAC_KEYCHAIN_H
#define MAC_KEYCHAIN_H
#include "keychain.h"
class MacKeychain : public Keychain {
public:
2011-02-18 21:14:01 +01:00
virtual ~MacKeychain() {}
virtual bool isAvailable();
2011-02-18 21:14:01 +01:00
virtual const QString getPassword(const QString& account);
virtual bool setPassword(const QString& account, const QString& password);
2011-02-18 21:14:01 +01:00
virtual const QString& implementationName() const { return kImplementationName; }
2011-02-18 21:14:01 +01:00
static const QString kImplementationName;
};
#endif