X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=frontend.h;h=f3556e683063d7580c4a227efe4be4da660650d3;hb=818559e1809acf08190dab5ff1602a2cb9b001f0;hp=e611d4137263fcb236cb7e1f6bb048cc4d98dff5;hpb=05bc30b15e31c427ce208495a889e9ff36e6642b;p=xboard.git diff --git a/frontend.h b/frontend.h index e611d41..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. @@ -73,6 +73,7 @@ void DisplayMoveError P((String message)); void DisplayFatalError P((String message, int error, int status)); void DisplayInformation P((String message)); +void DisplayNote P((String message)); void AskQuestion P((String title, String question, String replyPrefix, ProcRef pr)); void DisplayIcsInteractionTitle P((String title)); @@ -163,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