~phablet-team/qtubuntu-media/media-hub-3-changes

« back to all changes in this revision

Viewing changes to src/aal/aalmediaplayerservice.h

  • Committer: Ricardo Mendoza
  • Date: 2015-03-16 19:58:06 UTC
  • Revision ID: ricardo.mendoza@canonical.com-20150316195806-j68ch1swfqxms7fz
Make signals from media-hub result in queued events for the service and controls

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
Q_SIGNALS:
104
104
    void serviceReady();
 
105
    void playbackComplete();
 
106
    void playbackStatusChanged(const core::ubuntu::media::Player::PlaybackStatus &status);
 
107
 
 
108
public Q_SLOTS:
 
109
    void onPlaybackStatusChanged(const core::ubuntu::media::Player::PlaybackStatus &status);
105
110
 
106
111
protected:
107
112
#ifdef MEASURE_PERFORMANCE
120
125
    // Signals the proper QMediaPlayer::Error from a core::ubuntu::media::Error
121
126
    void signalQMediaPlayerError(const core::ubuntu::media::Player::Error &error);
122
127
 
123
 
    void onPlaybackStatusChanged(const core::ubuntu::media::Player::PlaybackStatus &status);
124
128
    void onError(const core::ubuntu::media::Player::Error &error);
125
129
 
126
130
    std::shared_ptr<core::ubuntu::media::Service> m_hubService;