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/gnome_keychain.h
2011-02-18 20:14:01 +00:00

25 lines
567 B
C++

#ifndef GNOME_KEYCHAIN_H
#define GNOME_KEYCHAIN_H
#include "keychain.h"
extern "C" {
#include <gnome-keyring.h>
}
class GnomeKeychain : public Keychain {
public:
virtual ~GnomeKeychain() {}
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;
private:
static const GnomeKeyringPasswordSchema kOurSchema;
};
#endif