X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=frontend.h;h=f3556e683063d7580c4a227efe4be4da660650d3;hb=14fcfa15e58ecabcbc8dd477fdc035fb57e9d8bf;hp=7fad00f99d735880ba03f056d400170393794377;hpb=1787d72dbd0f3ff703050df00dc6ebb5eebe14d7;p=xboard.git diff --git a/frontend.h b/frontend.h index 7fad00f..f3556e6 100644 --- a/frontend.h +++ b/frontend.h @@ -1,6 +1,6 @@ /* * frontend.h -- Interface exported by all XBoard front ends - * $Id$ + * $Id: frontend.h,v 2.2 2003/11/06 07:22:14 mann Exp $ * * Copyright 1991 by Digital Equipment Corporation, Maynard, Massachusetts. * Enhancements Copyright 1992-95 Free Software Foundation, Inc. @@ -164,10 +164,23 @@ void ClearPremoveHighlights P((void)); void ShutDownFrontEnd P((void)); void BoardToTop P((void)); void AnimateMove P((Board board, int fromX, int fromY, int toX, int toY)); -void HistorySet P((char movelist[][2*MOVE_LEN], - int first, int last, int current)); +void HistorySet P((char movelist[][2*MOVE_LEN], int first, int last, int current)); void FreezeUI P((void)); void ThawUI P((void)); extern char *programName; +typedef struct FrontEndProgramStats_TAG { + int which; + int depth; + unsigned long nodes; + int score; + int time; + char * pv; + char * hint; + int an_move_index; + int an_move_count; +} FrontEndProgramStats; + +void SetProgramStats P(( FrontEndProgramStats * stats )); /* [AS] */ + #endif