From: Kalle Wallin Date: Mon, 5 Apr 2004 08:58:48 +0000 (+0000) Subject: Added input_timeout. X-Git-Tag: v0.12_alpha1~607 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1c6b0bdb5df4c42a7fcc77fd786f49e03449924b;p=ncmpc.git Added input_timeout. git-svn-id: https://svn.musicpd.org/ncmpc/trunk@606 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- 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;