2 * @file gtkpounce.h GTK+ Buddy Pounce API
8 * Pidgin is the legal property of its developers, whose names are too numerous
9 * to list here. Please refer to the COPYRIGHT file distributed with this
10 * source distribution.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
26 #ifndef _PIDGINPOUNCE_H_
27 #define _PIDGINPOUNCE_H_
32 * Displays a New Buddy Pounce or Edit Buddy Pounce dialog.
34 * @param account The optional account to use.
35 * @param name The optional name to pounce on.
36 * @param cur_pounce The current buddy pounce, if editing an existing one.
38 void pidgin_pounce_editor_show(PurpleAccount
*account
, const char *name
,
39 PurplePounce
*cur_pounce
);
42 * Shows the pounces manager window.
44 void pidgin_pounces_manager_show(void);
47 * Hides the pounces manager window.
49 void pidgin_pounces_manager_hide(void);
52 * Returns the gtkpounces handle
54 * @return The handle to the GTK+ pounces system
56 void *pidgin_pounces_get_handle(void);
59 * Initializes the GTK+ pounces subsystem.
61 void pidgin_pounces_init(void);
63 #endif /* _PIDGINPOUNCE_H_ */