aboutsummaryrefslogtreecommitdiffstats
path: root/screen.h
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-04-06 08:45:11 +0000
committerKalle Wallin <kaw@linux.se>2004-04-06 08:45:11 +0000
commitc6b7d4d7119f9d8c12514f8309a25ed618e22512 (patch)
treee753ebbee7a915b4fc78580790d22de562d17287 /screen.h
parentd25aa528e221c51b46b5a461c15493593294db81 (diff)
downloadmpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.tar.gz
mpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.tar.xz
mpd-c6b7d4d7119f9d8c12514f8309a25ed618e22512.zip
Added a welcome message (help).
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@609 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/screen.h b/screen.h
index 452490996..b23a1da0e 100644
--- a/screen.h
+++ b/screen.h
@@ -25,6 +25,9 @@
/* timeout for non blocking read [ms] */
#define SCREEN_TIMEOUT 250
+/* welcome message time [s] */
+#define SCREEN_WELCOME_TIME 10
+
#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)))
@@ -58,6 +61,7 @@ typedef struct
time_t status_timestamp;
time_t input_timestamp;
+ command_t last_cmd;
list_window_t *playlist;
list_window_t *filelist;