|
a/playlist/playlistohrd.h |
|
b/playlist/playlistohrd.h |
|
... |
|
... |
38 |
|
38 |
|
39 |
virtual void update_state();
|
39 |
virtual void update_state();
|
40 |
|
40 |
|
41 |
signals:
|
41 |
signals:
|
42 |
void sig_track_metadata(const MetaData&);
|
42 |
void sig_track_metadata(const MetaData&);
|
43 |
void sig_row_activated(int);
|
|
|
44 |
|
43 |
|
45 |
public slots:
|
44 |
public slots:
|
46 |
|
45 |
|
47 |
// These receives changes from the remote state.
|
46 |
// These receives changes from the remote state.
|
48 |
void onRemoteCurrentTrackid(int id);
|
47 |
void onRemoteCurrentTrackid(int id);
|
49 |
void onRemoteTpState_impl(int, const char *) {}
|
48 |
void onRemoteTpState_impl(int, const char *) {}
|
50 |
void onRemoteSecsInSong_impl(quint32) {}
|
49 |
void onRemoteSecsInSong_impl(quint32) {}
|
51 |
|
50 |
|
52 |
// The following are connected to GUI signals, for responding to
|
51 |
// The following are connected to GUI signals, for responding to
|
53 |
// user actions.
|
52 |
// user actions.
|
54 |
void psl_change_track_impl(int idx) {
|
53 |
void psl_change_track_impl(int idx);
|
55 |
qDebug() << "psl_change_track: " << idx;
|
|
|
56 |
emit sig_row_activated(idx);
|
|
|
57 |
}
|
|
|
58 |
void psl_clear_playlist_impl() {}
|
54 |
void psl_clear_playlist_impl() {}
|
59 |
void psl_play();
|
55 |
void psl_play();
|
60 |
void psl_pause();
|
56 |
void psl_pause();
|
61 |
void psl_stop();
|
57 |
void psl_stop();
|
62 |
void psl_forward() {}
|
58 |
void psl_forward() {}
|