~phablet-team/telephony-service/qml-start-chat

« back to all changes in this revision

Viewing changes to libtelephonyservice/participant.h

Updated roles management using Roles interface client and events received from messaging framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    Q_OBJECT
31
31
    Q_PROPERTY(uint roles READ roles NOTIFY rolesChanged)
32
32
public:
33
 
    explicit Participant(const QString &identifier, uint roles, QObject *parent = 0);
 
33
    explicit Participant(const QString &identifier, uint roles, uint handle, QObject *parent = 0);
34
34
    explicit Participant(QObject *parent = 0);
35
35
    explicit Participant(const Participant &other);
36
36
    ~Participant();
37
37
 
 
38
    void setRoles(uint roles);
38
39
    uint roles() const;
 
40
    uint handle() const;
39
41
 
40
42
Q_SIGNAL
41
43
    void rolesChanged();
42
44
 
43
45
private:
44
46
    uint mRoles;
 
47
    uint mHandle;
45
48
};
46
49
 
47
50
#endif // PARTICIPANT_H