|
|
1.1 root 1: /*
2: Hatari - change.h
3:
1.1.1.3 root 4: This file is distributed under the GNU General Public License, version 2
5: or at your option any later version. Read the file gpl.txt for details.
1.1 root 6: */
7: #ifndef HATARI_CONTROL_H
8: #define HATARI_CONTROL_H
9:
10: #include "main.h"
11:
1.1.1.4 root 12: extern void Control_ProcessBuffer(const char *buffer);
1.1.1.2 root 13:
1.1 root 14: /* supported only on BSD compatible / POSIX compliant systems */
15: #if HAVE_UNIX_DOMAIN_SOCKETS
16: extern bool Control_CheckUpdates(void);
1.1.1.5 ! root 17: extern void Control_RemoveFifo(void);
! 18: extern const char* Control_SetFifo(const char *fifopath);
1.1 root 19: extern const char* Control_SetSocket(const char *socketpath);
20: extern void Control_ReparentWindow(int width, int height, bool noembed);
21: #else
1.1.1.2 root 22: #define Control_CheckUpdates() false
1.1.1.5 ! root 23: #define Control_RemoveFifo() false
! 24: #define Control_SetFifo(path) "Command FIFO is not supported on this platform."
1.1 root 25: #define Control_SetSocket(path) "Control socket is not supported on this platform."
26: #define Control_ReparentWindow(width, height, noembed);
27: #endif /* HAVE_UNIX_DOMAIN_SOCKETS */
28:
29: #endif /* HATARI_CONTROL_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.