Tue, 07 Apr 2020 00:55:43 -0500
Move the menu trac to PidginBuddyListMenu
|
39887
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
1 | /* |
|
9c8f874c74a0
Clean up all of the license headers
Gary Kramlich <grim@reaperworld.com>
parents:
39885
diff
changeset
|
2 | * finch |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
3 | * |
|
15931
716b5fac1895
Re-sed the copyright notices so they don't all talk about Purple.
Richard Laager <rlaager@pidgin.im>
parents:
15906
diff
changeset
|
4 | * Finch is the legal property of its developers, whose names are too numerous |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
5 | * to list here. Please refer to the COPYRIGHT file distributed with this |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
6 | * source distribution. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
7 | * |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
8 | * This program is free software; you can redistribute it and/or modify |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
9 | * it under the terms of the GNU General Public License as published by |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
10 | * the Free Software Foundation; either version 2 of the License, or |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
11 | * (at your option) any later version. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
12 | * |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
13 | * This program is distributed in the hope that it will be useful, |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
16 | * GNU General Public License for more details. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
17 | * |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
18 | * You should have received a copy of the GNU General Public License |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
19 | * along with this program; if not, write to the Free Software |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
16255
diff
changeset
|
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35449
diff
changeset
|
22 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
37100
diff
changeset
|
23 | #ifndef FINCH_POUNCE_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
37100
diff
changeset
|
24 | #define FINCH_POUNCE_H |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
37100
diff
changeset
|
25 | |
|
35449
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
26 | /** |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
27 | * SECTION:gntpounce |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
28 | * @section_id: finch-gntpounce |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
29 | * @short_description: <filename>gntpounce.h</filename> |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
30 | * @title: Buddy Pounce API |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
31 | */ |
|
c5f8cb0fb8ef
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35410
diff
changeset
|
32 | |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
33 | #include "pounce.h" |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
34 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
35 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
36 | * finch_pounce_editor_show: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
20147
diff
changeset
|
37 | * @account: The optional account to use. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
20147
diff
changeset
|
38 | * @name: The optional name to pounce on. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
20147
diff
changeset
|
39 | * @cur_pounce: The current buddy pounce, if editing an existing one. |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
40 | * |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
41 | * Displays a New Buddy Pounce or Edit Buddy Pounce dialog. |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
42 | */ |
| 15884 | 43 | void finch_pounce_editor_show(PurpleAccount *account, const char *name, |
| 44 | PurplePounce *cur_pounce); | |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
45 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
46 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
47 | * finch_pounces_manager_show: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
48 | * |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
49 | * Shows the pounces manager window. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
50 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15564
diff
changeset
|
51 | void finch_pounces_manager_show(void); |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
52 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
53 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
54 | * finch_pounces_manager_hide: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
55 | * |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
56 | * Hides the pounces manager window. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
57 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15564
diff
changeset
|
58 | void finch_pounces_manager_hide(void); |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
59 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
60 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
61 | * finch_pounces_get_handle: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
62 | * |
|
35496
a28ece02876c
Fix some annotation warnings in finch
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
63 | * Returns the GNT pounces handle |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
64 | * |
|
35496
a28ece02876c
Fix some annotation warnings in finch
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
65 | * Returns: (transfer none): The handle to the GNT pounces system |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
66 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15564
diff
changeset
|
67 | void *finch_pounces_get_handle(void); |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
68 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
69 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
70 | * finch_pounces_init: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
71 | * |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
72 | * Initializes the GNT pounces subsystem. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
73 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15564
diff
changeset
|
74 | void finch_pounces_init(void); |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
75 | |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
76 | /** |
|
35410
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
77 | * finch_pounces_uninit: |
|
5a6336f20f6e
Convert docs from doxygen to gtk-doc format for finch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
78 | * |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
79 | * Uninitializes the GNT pounces subsystem. |
|
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
80 | */ |
|
15878
f52832b611fe
renamed gaim-text to finch
Sean Egan <seanegan@pidgin.im>
parents:
15564
diff
changeset
|
81 | void finch_pounces_uninit(void); |
|
15564
61befe113a13
Wonderful patch from Richard 'wabz' Nelson to fix the bug of lacking a pounce ui.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
diff
changeset
|
82 | |
|
39885
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
37100
diff
changeset
|
83 | #endif /* FINCH_POUNCE_H */ |
|
b1b266896ec1
Fix the header guards for finch
Gary Kramlich <grim@reaperworld.com>
parents:
37100
diff
changeset
|
84 |