Files
zoitechat/src/common/autoaway.h
T

21 lines
545 B
C
Raw Normal View History

2026-10-20 23:47:29 -06:00
/* ZoiteChat
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ZOITECHAT_AUTOAWAY_H
#define ZOITECHAT_AUTOAWAY_H
#include <glib.h>
struct server;
void autoaway_activity (void);
void autoaway_manual (struct server *serv);
void autoaway_reset (struct server *serv);
2026-12-05 10:29:37 -06:00
void autoaway_ack_back (struct server *serv);
gboolean autoaway_request_back (struct server *serv);
2026-10-20 23:47:29 -06:00
void autoaway_reinit (void);
/* Both samples are in microseconds; -1 means desktop idle is unavailable. */
void autoaway_check (gint64 now, gint64 desktop_idle);
#endif