aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 4237cea98..57b2450fa 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -82,6 +82,13 @@ struct playlist {
* This variable is only valid if #playing is true.
*/
int queued;
+
+ /**
+ * This timer tracks the time elapsed since the last "prev"
+ * command. If that is less than one second ago, "prev" jumps
+ * to the previous song instead of rewinding the current song.
+ */
+ GTimer *prev_elapsed;
};
/** the global playlist object */