]> git.sesse.net Git - nageru/blobdiff - clip_list.h
Make it possible to play an entire playlist of clips.
[nageru] / clip_list.h
index 851f86a1296d818005984dae117cf9ad7d13dbc2..9ca6e63799896f32cc5312a3e72a0c48704abf38 100644 (file)
@@ -80,6 +80,7 @@ public:
        const Clip *back() const { return clip(size() - 1); }
 
        void set_currently_playing(int index);  // -1 = none. Only makes sense for the playlist.
+       int get_currently_playing() const { return currently_playing_index; }
 
        void emit_data_changed(size_t row);