2
2
* frontend.h -- Interface exported by all XBoard front ends
3
3
* $Id: frontend.h,v 2.2 2003/11/06 07:22:14 mann Exp $
5
* Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts.
6
* Enhancements Copyright 1992-95 Free Software Foundation, Inc.
5
* Copyright 1991 by Digital Equipment Corporation, Maynard,
6
* Massachusetts. Enhancements Copyright
7
* 1992-2001,2002,2003,2004,2005,2006,2007,2008,2009 Free Software
8
10
* The following terms apply to Digital Equipment Corporation's copyright
9
11
* interest in XBoard:
28
30
* ------------------------------------------------------------------------
30
* The following terms apply to the enhanced version of XBoard distributed
31
* by the Free Software Foundation:
32
* The following terms apply to the enhanced version of XBoard
33
* distributed by the Free Software Foundation:
32
34
* ------------------------------------------------------------------------
33
* This program is free software; you can redistribute it and/or modify
36
* GNU XBoard is free software: you can redistribute it and/or modify
34
37
* it under the terms of the GNU General Public License as published by
35
* the Free Software Foundation; either version 2 of the License, or
36
* (at your option) any later version.
38
* the Free Software Foundation, either version 3 of the License, or (at
39
* your option) any later version.
38
* This program is distributed in the hope that it will be useful,
39
* but WITHOUT ANY WARRANTY; without even the implied warranty of
40
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41
* GNU General Public License for more details.
41
* GNU XBoard is distributed in the hope that it will be useful, but
42
* WITHOUT ANY WARRANTY; without even the implied warranty of
43
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
44
* General Public License for more details.
43
46
* You should have received a copy of the GNU General Public License
44
* along with this program; if not, write to the Free Software
45
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
46
* ------------------------------------------------------------------------
47
* along with this program. If not, see http://www.gnu.org/licenses/. *
49
*------------------------------------------------------------------------
50
** See the file ChangeLog for a revision history. */
164
167
void ShutDownFrontEnd P((void));
165
168
void BoardToTop P((void));
166
169
void AnimateMove P((Board board, int fromX, int fromY, int toX, int toY));
167
void HistorySet P((char movelist[][2*MOVE_LEN],
168
int first, int last, int current));
170
void HistorySet P((char movelist[][2*MOVE_LEN], int first, int last, int current));
169
171
void FreezeUI P((void));
170
172
void ThawUI P((void));
171
173
extern char *programName;
175
typedef struct FrontEndProgramStats_TAG {
185
} FrontEndProgramStats;
187
void SetProgramStats P(( FrontEndProgramStats * stats )); /* [AS] */