From 1c6b0bdb5df4c42a7fcc77fd786f49e03449924b Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Mon, 5 Apr 2004 08:58:48 +0000 Subject: [PATCH] Added input_timeout. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@606 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- screen.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/screen.h b/screen.h index 60b2538..4524909 100644 --- a/screen.h +++ b/screen.h @@ -27,6 +27,7 @@ #define IS_PLAYING(s) (s==MPD_STATUS_STATE_PLAY) #define IS_PAUSED(s) (s==MPD_STATUS_STATE_PAUSE) +#define IS_STOPPED(s) (!(IS_PLAYING(s) | IS_PAUSED(s))) typedef enum { @@ -54,7 +55,9 @@ typedef struct window_t main_window; window_t progress_window; window_t status_window; + time_t status_timestamp; + time_t input_timestamp; list_window_t *playlist; list_window_t *filelist; -- 2.30.2