Mercurial > pidgin
annotate finch/gntpounce.h @ 17472:ae7a4134e499
Changing this timer to run every 50 milliseconds instead of every 5
milliseconds. The timer is used to integrate our glib mainloop with
silcclient's mainloop.
Some Red Hat people complained that the timer causes the CPU to wake
up really often and that hurts out power consumption on laptops and
what not. Ideally the integration wouldn't need the timeout thing
and would instead by event-driven.
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=242398
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 04 Jun 2007 02:22:50 +0000 |
parents | 0f0832c13fcb |
children | 44b4e8bd759b |
rev | line source |
---|---|
15817 | 1 /** |
2 * @file gntpounce.h GNT Buddy Pounce API | |
16194
0f0832c13fcb
Rename the Doxygen group from gntui to finch and define the finch group
Richard Laager <rlaager@wiktel.com>
parents:
15870
diff
changeset
|
3 * @ingroup finch |
15817 | 4 * |
15870
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15822
diff
changeset
|
5 * finch |
15817 | 6 * |
15870
66dff3dfdea6
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@wiktel.com>
parents:
15822
diff
changeset
|
7 * Finch is the legal property of its developers, whose names are too numerous |
15817 | 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 */ | |
15822 | 25 #ifndef _FINCHPOUNCE_H_ |
26 #define _FINCHPOUNCE_H_ | |
15817 | 27 |
28 #include "pounce.h" | |
29 | |
30 /** | |
31 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. | |
32 * | |
33 * @param account The optional account to use. | |
34 * @param name The optional name to pounce on. | |
35 * @param cur_pounce The current buddy pounce, if editing an existing one. | |
36 */ | |
15822 | 37 void finch_pounce_editor_show(PurpleAccount *account, const char *name, |
38 PurplePounce *cur_pounce); | |
15817 | 39 |
40 /** | |
41 * Shows the pounces manager window. | |
42 */ | |
43 void finch_pounces_manager_show(void); | |
44 | |
45 /** | |
46 * Hides the pounces manager window. | |
47 */ | |
48 void finch_pounces_manager_hide(void); | |
49 | |
50 /** | |
51 * Returns the gtkpounces handle | |
52 * | |
53 * @return The handle to the GTK+ pounces system | |
54 */ | |
55 void *finch_pounces_get_handle(void); | |
56 | |
57 /** | |
58 * Initializes the GNT pounces subsystem. | |
59 */ | |
60 void finch_pounces_init(void); | |
61 | |
62 /** | |
63 * Uninitializes the GNT pounces subsystem. | |
64 */ | |
65 void finch_pounces_uninit(void); | |
66 | |
15822 | 67 #endif /* _PURPLE_GTKPOUNCE_H_ */ |