From cf4d80fc655a399615529bdd27e0be284754c5ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 20 Oct 2013 13:10:54 +0200 Subject: command: convert command_return to to a strictly-typed enum --- src/AllCommands.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/AllCommands.hxx') diff --git a/src/AllCommands.hxx b/src/AllCommands.hxx index 4ab69755a..2be94c136 100644 --- a/src/AllCommands.hxx +++ b/src/AllCommands.hxx @@ -20,7 +20,7 @@ #ifndef MPD_ALL_COMMANDS_HXX #define MPD_ALL_COMMANDS_HXX -#include "command.h" +#include "CommandResult.hxx" class Client; @@ -28,7 +28,7 @@ void command_init(void); void command_finish(void); -enum command_return +CommandResult command_process(Client &client, unsigned num, char *line); #endif -- cgit v1.2.3