~alfonsosanchezbeato/media-hub/reimplement-shuffling

« back to all changes in this revision

Viewing changes to include/core/media/track_list.h

  • Committer: Alfonso Sanchez-Beato
  • Date: 2015-11-17 08:07:22 UTC
  • mfrom: (162.1.17 media-hub)
  • Revision ID: alfonso.sanchez-beato@canonical.com-20151117080722-jz5uecejzr1arq5e
MergeĀ lp:~phablet-team/media-hub/add_move_trackĀ (go_to)

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
    /** Removes a Track from the TrackList. */
110
110
    virtual void remove_track(const Track::Id& id) = 0;
111
111
 
112
 
    /** Skip to the specified TrackId. Calls stop() and play() on the player if toggle_player_state is true. */
113
 
    virtual void go_to(const Track::Id& track, bool toggle_player_state) = 0;
 
112
    /** Skip to the specified TrackId. */
 
113
    virtual void go_to(const Track::Id& track) = 0;
114
114
 
115
115
    /** Returns true if there is a next track in the TrackList after the current one playing */
116
116
    bool has_next() const;
157
157
    virtual const core::Signal<Track::Id>& on_track_changed() const = 0;
158
158
 
159
159
    /** Used to notify the Player of when the client requested that the Player should immediately play a new track. */
160
 
    virtual const core::Signal<std::pair<Track::Id, bool>>& on_go_to_track() const = 0;
 
160
    virtual const core::Signal<Track::Id>& on_go_to_track() const = 0;
161
161
 
162
162
    /** Used to notify the Player of when the end of the tracklist has been reached. */
163
163
    virtual const core::Signal<void>& on_end_of_tracklist() const = 0;