~ubuntu-branches/ubuntu/trusty/telephony-service/trusty-proposed

« back to all changes in this revision

Viewing changes to libtelephonyservice/ringtone.h

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Michael Terry, Gustavo Pichorim Boiko
  • Date: 2014-03-19 02:49:40 UTC
  • mfrom: (1.1.20)
  • Revision ID: package-import@ubuntu.com-20140319024940-mdtcdwo6ef4pudh7
Tags: 0.1+14.04.20140319-0ubuntu1
[ Michael Terry ]
* Add support for sharing contact info of incoming texts with the
  greeter.
* Consolidate ringtone code and greeter code so that the service can
  listen to which user is selected in the greeter, and use their
  ringtone.

[ Gustavo Pichorim Boiko ]
* Make it possible to handle multiple telepathy accounts.
* Cleanup the build deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    void playIncomingMessageSound();
47
47
    void stopIncomingMessageSound();
48
48
 
49
 
 
50
 
private Q_SLOTS:
51
 
    void onChanged(QString, QVariantMap, QStringList);
52
 
    void onNameOwnerChanged(QString, QString, QString);
53
 
 
54
49
private:
55
50
    QMediaPlayer mCallAudioPlayer;
56
51
    QMediaPlaylist mCallAudioPlaylist;
57
52
 
58
53
    QMediaPlayer mMessageAudioPlayer;
59
 
 
60
 
    QDBusConnection mSystemBusConnection;
61
 
    QDBusServiceWatcher mServiceWatcher;
62
 
    QDBusInterface mAccountsserviceIface;
63
 
    QString mObjectPath;
64
 
 
65
 
    bool mSilentMode;
66
 
    QString mIncomingCallSound;
67
 
    QString mIncomingMessageSound;
68
 
 
69
 
    void setUpInterface();
70
 
    QVariant getUserProperty(const QString property);
71
54
};
72
55
 
73
56
class Ringtone : public QObject