Split usounds.c and usystem.c from xboard.c
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 20 Mar 2012 18:10:50 +0000 (19:10 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Tue, 10 Apr 2012 09:31:47 +0000 (11:31 +0200)
commit14bd89bc510fb6ff864b235fbac39044079f131f
tree9c677f17eec81b9dd5deae3b4c3b046fee2d0135
parentdff5f0dd4004751e4453c6efa405f2c0c29b562e
Split usounds.c and usystem.c from xboard.c

X-independent code was moved to separate files. The nef file usound.c
contains the sound handling, which in XBoard is trivial, because it uses
an external player, but could be replaced by a complex one on platforms
that have to handle the sound themselves.
  The usystem.c file contains all non-X Unix-like stuff, such as fork,
pipe, system, getenv. I also contains some color parsing for the xterm
colors. This stuff could be useful on platforms that support Unix-like
system calls.
Makefile.am
args.h
frontend.h
usounds.c [new file with mode: 0644]
usystem.c [new file with mode: 0644]
usystem.h [new file with mode: 0644]
xboard.c
xboard.h