Code

list_window.h: "non-zero" -> "true", we use bool
[ncmpc.git] / src / player_command.h
index 70d07fd5decf53059be5f8608f2229b20fef4152..3107a2d2897d644c024936cc48fa91bce4bb9dba 100644 (file)
@@ -1,5 +1,5 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2009 The Music Player Daemon Project
+ * (c) 2004-2010 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
 
  * This program is free software; you can redistribute it and/or modify
 
 #include "command.h"
 
+#include <stdbool.h>
+
 struct mpdclient;
 
 extern int seek_id;
 extern int seek_target_time;
 
-int
+/**
+ * Call this before exiting; it will unschedule the timer for delayed
+ * seeking.
+ */
+void
+cancel_seek_timer(void);
+
+bool
 handle_player_command(struct mpdclient *c, command_t cmd);
 
 #endif