1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 21:36:46 +02:00

move window blink/beep to a function

This commit is contained in:
Jfreegman
2013-11-19 02:31:22 -05:00
parent 83458c64ec
commit b16ff16abc
4 changed files with 17 additions and 14 deletions

View File

@ -21,4 +21,7 @@ uint8_t *wcs_to_char(wchar_t *string);
char *wc_to_char(wchar_t ch);
/* Returns true if connection has timed out, false otherwise */
bool timed_out(uint64_t timestamp, uint64_t timeout, uint64_t curtime);
bool timed_out(uint64_t timestamp, uint64_t timeout, uint64_t curtime);
/* Beeps and makes window tab blink */
void alert_window(ToxWindow *self);