|
|
1.1 root 1: /*
2: Hatari - change.h
3:
4: This file is distributed under the GNU Public License, version 2 or at
5: your option any later version. Read the file gpl.txt for details.
6: */
7: #ifndef HATARI_CONTROL_H
8: #define HATARI_CONTROL_H
9:
10: #include "main.h"
11:
1.1.1.2 ! root 12: extern void Control_ProcessBuffer(char *buffer);
! 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);
17: extern const char* Control_SetSocket(const char *socketpath);
18: extern void Control_ReparentWindow(int width, int height, bool noembed);
19: #else
1.1.1.2 ! root 20: #define Control_CheckUpdates() false
1.1 root 21: #define Control_SetSocket(path) "Control socket is not supported on this platform."
22: #define Control_ReparentWindow(width, height, noembed);
23: #endif /* HAVE_UNIX_DOMAIN_SOCKETS */
24:
25: #endif /* HATARI_CONTROL_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.