mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-12-05 22:42:06 +00:00
add autoaway
This commit is contained in:
29 files changed
+828
-8
No files matched your search
@@ -0,0 +1,19 @@
|
||||
/* 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);
|
||||
void autoaway_reinit (void);
|
||||
/* Both samples are in microseconds; -1 means desktop idle is unavailable. */
|
||||
void autoaway_check (gint64 now, gint64 desktop_idle);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user