*------------------------------------------------------------------------
** See the file ChangeLog for a revision history. */
-#ifndef _FRONTEND
-#define _FRONTEND
+#ifndef XB_FRONTEND
+#define XB_FRONTEND
#include <stdio.h>
void PlayIcsUnfinishedSound P((void));
void PlayAlarmSound P((void));
void PlayTellSound P((void));
+void PlaySoundFile P((char *name));
+void PlaySoundByColor P((void));
void EchoOn P((void));
void EchoOff P((void));
void Raw P((void));
void PromotionPopUp P((void));
void DragPieceBegin P((int x, int y, Boolean instantly));
void DragPieceEnd P((int x, int y));
+void DragPieceMove P((int x, int y));
void LeftClick P((ClickType c, int x, int y));
int RightClick P((ClickType c, int x, int y, int *col, int *row));
char *buf, int count, int error));
extern ProcRef cmailPR;
-extern int shiftKey;
+extern int shiftKey, controlKey;
/* in xgamelist.c or winboard.c */
void GLT_ClearList();
/* these are in wgamelist.c */
void GameListPopUp P((FILE *fp, char *filename));
-void GameListPopDown P((void));
void GameListHighlight P((int index));
void GameListDestroy P((void));
void TagsPopUp P((char *tags, char *msg));
void TagsPopDown P((void));
+void ParseIcsTextColors P((void));
void ICSInitScript P((void));
void StartAnalysisClock P((void));
void EngineOutputPopUp P((void));
void FreezeUI P((void));
void ThawUI P((void));
void ChangeDragPiece P((ChessSquare piece));
+void CopyFENToClipboard P((void));
extern char *programName;
extern int commentUp;
extern char *firstChessProgramNames;
void GreyRevert P((Boolean grey));
+void MarkMenuItem P((char *menuRef, int state));
+void EnableNamedMenuItem P((char *menuRef, int state));
typedef struct FrontEndProgramStats_TAG {
int which;
int EngineOutputIsUp P((void));
int EngineOutputDialogExists P((void));
void EvalGraphPopUp P((void));
-void EvalGraphPopDown P((void));
Boolean EvalGraphIsUp P((void));
int EvalGraphDialogExists P((void));
+void SlavePopUp P((void));
/* these are in xhistory.c */
Boolean MoveHistoryIsUp P((void));
void HistoryPopUp P((void));
-#endif
+#endif /* XB_FRONTEND */