Replace manual option handling by use of glib
[lcid-xwax.git] / interface.h
blob215414053c51c4a5f49f9a00c15f0b58e1043357
1 /*
2 * Copyright (C) 2008 Mark Hills <mark@pogo.org.uk>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License version 2 for more details.
13 * You should have received a copy of the GNU General Public License
14 * version 2 along with this program; if not, write to the Free
15 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 * MA 02110-1301, USA.
20 #ifndef INTERFACE_H
21 #define INTERFACE_H
23 #include "timecoder.h"
25 #define MAX_PLAYERS 4
26 #define MAX_TIMECODERS 4
28 struct interface_local_t;
30 struct interface_t {
31 short int players, timecoders;
33 struct player_t *player[MAX_PLAYERS];
34 struct timecoder_t *timecoder[MAX_TIMECODERS];
35 struct listing_t *listing;
38 void interface_init(struct interface_t *in);
39 int interface_run(struct interface_t *in);
41 #endif