X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=0331f381b7596368eb097461d6660e0573a02c83;hb=9e70e37cd4cd1e80a00391a188b1da16eb46589b;hp=419a1b1176e055fddcdd9cf925dd29af2fefa4d7;hpb=14fa496aee4fc5ff4288ac254937a0cab78c12eb;p=xboard.git diff --git a/backend.h b/backend.h index 419a1b1..0331f38 100644 --- a/backend.h +++ b/backend.h @@ -205,9 +205,11 @@ void GetMoveListEvent P((void)); void ExitAnalyzeMode P((void)); void AnalyzeModeEvent P((void)); void AnalyzeFileEvent P((void)); +void MatchEvent P((int mode)); +void TypeInEvent P((char first)); +void TypeInDoneEvent P((char *move)); void InitPosition P((int redraw)); void NewSettingEvent P((int option, int *feature, char *command, int value)); -int WaitForSecond P((DelayedEventCallback x)); void SettingsMenuIfReady P((void)); void DoEcho P((void)); void DontEcho P((void)); @@ -278,6 +280,7 @@ typedef struct _ListGame { extern ChessSquare gatingPiece; extern List gameList; +extern int lastLoadGameNumber; void ClearGameInfo P((GameInfo *)); int GameListBuild P((FILE *)); void GameListInitGameInfo P((GameInfo *)); @@ -403,5 +406,6 @@ extern ChessProgramStats programStats; extern int opponentKibitzes; // used by wengineo.c extern int errorExitStatus; void SettingsPopUp P((ChessProgramState *cps)); // [HGM] really in front-end, but CPS not known in frontend.h +int WaitForEngine P((ChessProgramState *cps, DelayedEventCallback x)); #endif /* _BACKEND */