--- hatari/src/includes/control.h 2019/04/01 07:14:45 1.1 +++ hatari/src/includes/control.h 2019/04/09 08:59:24 1.1.1.5 @@ -1,22 +1,27 @@ /* Hatari - change.h - This file is distributed under the GNU Public License, version 2 or at - your option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. */ #ifndef HATARI_CONTROL_H #define HATARI_CONTROL_H -#include "config.h" #include "main.h" +extern void Control_ProcessBuffer(const char *buffer); + /* supported only on BSD compatible / POSIX compliant systems */ #if HAVE_UNIX_DOMAIN_SOCKETS extern bool Control_CheckUpdates(void); +extern void Control_RemoveFifo(void); +extern const char* Control_SetFifo(const char *fifopath); extern const char* Control_SetSocket(const char *socketpath); extern void Control_ReparentWindow(int width, int height, bool noembed); #else -#define Control_CheckUpdates() FALSE +#define Control_CheckUpdates() false +#define Control_RemoveFifo() false +#define Control_SetFifo(path) "Command FIFO is not supported on this platform." #define Control_SetSocket(path) "Control socket is not supported on this platform." #define Control_ReparentWindow(width, height, noembed); #endif /* HAVE_UNIX_DOMAIN_SOCKETS */