X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=frontend.h;h=ec0a4eaa4789b7908de812a119a426721c41b440;hb=4d04bc8a6c2d5e410d519b25164613c5e5c2d160;hp=e63f6611ae1b8e8580e0158f245c01badc802304;hpb=bf3465a52edbeb1d394a4f3ffc766890c4a1aab5;p=xboard.git diff --git a/frontend.h b/frontend.h index e63f661..ec0a4ea 100644 --- a/frontend.h +++ b/frontend.h @@ -105,6 +105,7 @@ void PlayIcsLossSound P((void)); void PlayIcsDrawSound P((void)); void PlayIcsUnfinishedSound P((void)); void PlayAlarmSound P((void)); +void PlayTellSound P((void)); void EchoOn P((void)); void EchoOff P((void)); void Raw P((void)); @@ -134,7 +135,7 @@ void CancelDelayedEvent P((void)); extern int fromX, fromY, toX, toY; typedef enum { Press, Release } ClickType; void PromotionPopUp P((void)); -void DragPieceBegin P((int x, int y)); +void DragPieceBegin P((int x, int y, Boolean instantly)); void DragPieceEnd 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)); @@ -142,6 +143,7 @@ int RightClick P((ClickType c, int x, int y, int *col, int *row)); int StartChildProcess P((char *cmdLine, char *dir, ProcRef *pr)); void DestroyChildProcess P((ProcRef pr, int/*boolean*/ signal)); void InterruptChildProcess P((ProcRef pr)); +void RunCommand P((char *buf)); int OpenTelnet P((char *host, char *port, ProcRef *pr)); int OpenTCP P((char *host, char *port, ProcRef *pr));