15817
|
1 /**
|
|
2 * @file gntpounce.h GNT Buddy Pounce API
|
|
3 * @ingroup gntui
|
|
4 *
|
15822
|
5 * purple
|
15817
|
6 *
|
15822
|
7 * Purple 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_ */
|