~ci-train-bot/online-accounts-api/online-accounts-api-ubuntu-xenial-landing-033

« back to all changes in this revision

Viewing changes to src/lib/OnlineAccounts/authentication_data.h

  • Committer: CI Train Bot
  • Author(s): Alberto Mardegan
  • Date: 2015-09-23 12:41:36 UTC
  • mfrom: (8.4.11 update)
  • Revision ID: ci-train-bot@canonical.com-20150923124136-43tthyu1l6lkqq3l
Docs, fixes, library install

- Docs
- Couple of bugfixes
- Package the daemon as a library

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
class ONLINE_ACCOUNTS_EXPORT AuthenticationData
38
38
{
39
39
public:
 
40
    AuthenticationData(AuthenticationMethod method);
40
41
    AuthenticationData(const AuthenticationData &other);
41
42
    virtual ~AuthenticationData();
42
43
 
48
49
    void invalidateCachedReply();
49
50
    bool mustInvalidateCachedReply() const;
50
51
 
 
52
    void setParameters(const QVariantMap &parameters);
 
53
    QVariantMap parameters() const;
 
54
 
51
55
protected:
52
56
    AuthenticationData(AuthenticationDataPrivate *priv);
53
57
    QSharedDataPointer<AuthenticationDataPrivate> d;
55
59
private:
56
60
    friend class Manager;
57
61
    friend class ManagerPrivate;
58
 
    AuthenticationData();
59
62
};
60
63
 
61
64
class AuthenticationReplyPrivate;
68
71
    bool hasError() const { return error().isValid(); }
69
72
    Error error() const;
70
73
 
 
74
    QVariantMap data() const;
 
75
 
71
76
protected:
72
77
    AuthenticationReply(AuthenticationReplyPrivate *priv);
73
78
    AuthenticationReplyPrivate *d_ptr;