~ubuntu-branches/ubuntu/karmic/xboard/karmic

« back to all changes in this revision

Viewing changes to frontend.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-07-05 07:58:26 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090705075826-gj6dcvz5fn0rxc6l
Tags: 4.4.0~alpha6-1ubuntu1
* Merge from debian unstable, remaining changes: LP: #395667
  - Add debian/xboard.xpm and set as icon.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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 $
4
4
 *
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
 * Foundation, Inc.
7
9
 *
8
10
 * The following terms apply to Digital Equipment Corporation's copyright
9
11
 * interest in XBoard:
27
29
 * SOFTWARE.
28
30
 * ------------------------------------------------------------------------
29
31
 *
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
 
35
 *
 
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.
37
40
 *
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.
42
45
 *
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
 
 */
 
47
 * along with this program. If not, see http://www.gnu.org/licenses/.  *
 
48
 *
 
49
 *------------------------------------------------------------------------
 
50
 ** See the file ChangeLog for a revision history.  */
48
51
 
49
52
#ifndef _FRONTEND
50
53
#define _FRONTEND
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;
172
174
 
 
175
typedef struct FrontEndProgramStats_TAG {
 
176
    int which;
 
177
    int depth;
 
178
    unsigned long nodes;
 
179
    int score;
 
180
    int time;
 
181
    char * pv;
 
182
    char * hint;
 
183
    int an_move_index;
 
184
    int an_move_count;
 
185
} FrontEndProgramStats;
 
186
 
 
187
void SetProgramStats P(( FrontEndProgramStats * stats )); /* [AS] */
 
188
 
173
189
#endif