~ci-train-bot/online-accounts-api/online-accounts-api-ubuntu-yakkety-landing-090

« back to all changes in this revision

Viewing changes to src/daemon/manager.h

  • Committer: Alberto Mardegan
  • Date: 2015-04-28 17:02:17 UTC
  • mfrom: (3.2.8 dbus-api)
  • Revision ID: alberto.mardegan@canonical.com-20150428170217-z1mvhbdehssa74jc
Update DBus API

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    ~Manager();
32
32
 
33
33
public Q_SLOTS:
34
 
    QList<AccountInfo> GetAccounts(const QStringList &serviceIds);
35
 
    AccountInfo GetAccountInfo(const QString &serviceId, uint accountId);
36
 
    QVariantMap Authenticate(const QString &serviceId, uint accountId,
37
 
                             bool interactive, bool invalidate);
38
 
    AccountInfo Register(const QString &serviceId, QVariantMap &credentials);
 
34
    QList<AccountInfo> GetAccounts(const QVariantMap &filters);
 
35
    QVariantMap Authenticate(uint accountId, const QString &serviceId,
 
36
                             bool interactive, bool invalidate,
 
37
                             const QVariantMap &parameters);
 
38
    AccountInfo RequestAccess(const QString &serviceId,
 
39
                              const QVariantMap &parameters,
 
40
                              QVariantMap &credentials);
39
41
 
40
42
Q_SIGNALS:
41
 
    void AccountChanged(const QString &serviceId, uint accountId, bool enabled);
42
 
    void CredentialsChanged(const QString &serviceId, uint accountId);
 
43
    void AccountChanged(const QString &serviceId, AccountInfo accountInfo);
43
44
 
44
45
private:
45
46
    bool canAccess(const QString &serviceId);