aboutsummaryrefslogtreecommitdiffstats
path: root/screen.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-05 08:58:48 +0000
committerKalle Wallin <kaw@linux.se>2004-04-05 08:58:48 +0000
commit1c6b0bdb5df4c42a7fcc77fd786f49e03449924b (patch)
tree7ff7d768bb72196a0e97924ba3fe4e57d6cf55db /screen.h
parentc1a97ec75ae62395b8937222bdc495a5d33d83bb (diff)
downloadmpd-1c6b0bdb5df4c42a7fcc77fd786f49e03449924b.tar.gz
mpd-1c6b0bdb5df4c42a7fcc77fd786f49e03449924b.tar.xz
mpd-1c6b0bdb5df4c42a7fcc77fd786f49e03449924b.zip
Added input_timeout.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@606 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--screen.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 60b253883..452490996 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;