11907
|
1 /**
|
|
2 * @file gtkidle.h GTK+ Idle API
|
|
3 * @ingroup gtkui
|
|
4 *
|
|
5 * gaim
|
|
6 *
|
|
7 * Gaim is the legal property of its developers, whose names are too numerous
|
|
8 * to list here. Please refer to the COPYRIGHT file distributed with this
|
|
9 * source distribution.
|
|
10 *
|
|
11 * This program is free software; you can redistribute it and/or modify
|
|
12 * it under the terms of the GNU General Public License as published by
|
|
13 * the Free Software Foundation; either version 2 of the License, or
|
|
14 * (at your option) any later version.
|
|
15 *
|
|
16 * This program is distributed in the hope that it will be useful,
|
|
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 * GNU General Public License for more details.
|
|
20 *
|
|
21 * You should have received a copy of the GNU General Public License
|
|
22 * along with this program; if not, write to the Free Software
|
|
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
24 */
|
|
25 #ifndef _GAIM_GTK_IDLE_H_
|
|
26 #define _GAIM_GTK_IDLE_H_
|
|
27
|
|
28 /**************************************************************************/
|
|
29 /** @name GTK+ Idle API */
|
|
30 /**************************************************************************/
|
|
31 /*@{*/
|
|
32
|
|
33
|
|
34 /**
|
|
35 * Initializes the GTK+ idle system.
|
|
36 */
|
|
37 void gaim_gtk_idle_init(void);
|
|
38
|
|
39 /**
|
|
40 * Uninitializes the GTK+ idle system.
|
|
41 */
|
|
42 void gaim_gtk_idle_uninit(void);
|
|
43
|
|
44 /**
|
|
45 * Check the current idle time, reporting to the server or going auto-away as
|
|
46 * appropriate.
|
|
47 *
|
12050
|
48 * @param data A pointer to the GaimConnection* to check
|
11907
|
49 */
|
|
50 gint gaim_gtk_idle_check(gpointer data);
|
|
51
|
|
52 /*@}*/
|
|
53
|
|
54 #endif /* _GAIM_GTK_IDLE_H_ */
|