|
|
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 "config.h" ! 11: #include "main.h" ! 12: ! 13: /* supported only on BSD compatible / POSIX compliant systems */ ! 14: #if HAVE_UNIX_DOMAIN_SOCKETS ! 15: extern bool Control_CheckUpdates(void); ! 16: extern const char* Control_SetSocket(const char *socketpath); ! 17: extern void Control_ReparentWindow(int width, int height, bool noembed); ! 18: #else ! 19: #define Control_CheckUpdates() FALSE ! 20: #define Control_SetSocket(path) "Control socket is not supported on this platform." ! 21: #define Control_ReparentWindow(width, height, noembed); ! 22: #endif /* HAVE_UNIX_DOMAIN_SOCKETS */ ! 23: ! 24: #endif /* HATARI_CONTROL_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.