File:  [HATARI the Atari ST Emulator] / hatari / src / includes / control.h
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:59:24 2019 UTC (7 years, 1 month ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, HEAD
hatari 2.2.0

/*
  Hatari - change.h
  
  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 "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_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 */

#endif /* HATARI_CONTROL_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.