From f6bb989398b1ab8fa4ba5ad9a42958a1c5e866f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Wed, 21 Dec 2011 21:40:51 +0100 Subject: [PATCH] screen_interface: document the cmd callback --- src/screen_interface.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/screen_interface.h b/src/screen_interface.h index bcf442a..a5b29b9 100644 --- a/src/screen_interface.h +++ b/src/screen_interface.h @@ -37,7 +37,14 @@ struct screen_functions { void (*resize)(int cols, int rows); void (*paint)(void); void (*update)(struct mpdclient *c); + + /** + * Handle a command. + * + * @returns true if the command should not be handled by the ncmpc core. + */ bool (*cmd)(struct mpdclient *c, command_t cmd); + const char *(*get_title)(char *s, size_t size); }; -- 2.30.2