pidgin/gtkdocklet.h

Fri, 07 Feb 2014 21:45:54 +0530

author
Ankit Vani <a@nevitus.org>
date
Fri, 07 Feb 2014 21:45:54 +0530
branch
gtkdoc-conversion
changeset 35487
494f09f7f331
parent 35457
02d94347d1f9
child 38744
48a376346964
permissions
-rw-r--r--

Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells

25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 20962
diff changeset
1 /*
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15731
diff changeset
2 * System tray icon (aka docklet) plugin for Purple
25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 20962
diff changeset
3 *
6208
46464ee45f48 [gaim-migrate @ 6694]
Robert McQueen <robot101@debian.org>
parents: 6077
diff changeset
4 * Copyright (C) 2002-3 Robert McQueen <robot101@debian.org>
6077
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
5 * Copyright (C) 2003 Herman Bloggs <hermanator12002@yahoo.com>
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
6 * Inspired by a similar plugin by:
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
7 * John (J5) Palmieri <johnp@martianrock.com>
25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 20962
diff changeset
8 *
6077
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
9 * This program is free software; you can redistribute it and/or
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
10 * modify it under the terms of the GNU General Public License as
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
11 * published by the Free Software Foundation; either version 2 of the
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
12 * License, or (at your option) any later version.
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
13 *
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
14 * This program is distributed in the hope that it will be useful, but
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
17 * General Public License for more details.
25888
d0fdd378a635 Remove trailing whitespace
Mark Doliner <markdoliner@pidgin.im>
parents: 20962
diff changeset
18 *
6077
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
20 * 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: 16996
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
71d37b57eff2 The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents: 16996
diff changeset
22 * 02111-1301, USA.
6077
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
23 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35457
diff changeset
24
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35457
diff changeset
25 #ifndef _GTKDOCKLET_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35457
diff changeset
26 #define _GTKDOCKLET_H_
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
27 /**
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
28 * SECTION:gtkdocklet
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
29 * @section_id: pidgin-gtkdocklet
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
30 * @short_description: <filename>gtkdocklet.h</filename>
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
31 * @title: Docklet
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
32 *
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
33 * This file provides the System tray icon (aka docklet) implementation.
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35416
diff changeset
34 */
6208
46464ee45f48 [gaim-migrate @ 6694]
Robert McQueen <robot101@debian.org>
parents: 6077
diff changeset
35
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32307
diff changeset
36 G_BEGIN_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32307
diff changeset
37
33527
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
38 typedef enum
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
39 {
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
40 PIDGIN_DOCKLET_CONNECTING = 0x1,
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
41 PIDGIN_DOCKLET_CONV_PENDING = 0x2,
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
42 PIDGIN_DOCKLET_EMAIL_PENDING = 0x4
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
43 } PidginDockletFlag;
c51c70f5545a Add email notification in the docklet area.
Jorge Villaseñor <salinasv@pidgin.im>
parents: 33246
diff changeset
44
33246
b9a5b8ddf92c Add API to access the underlying GtkStatusIcon for the docklet.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
45 /**
35416
35c615531b2a Convert docs from doxygen to gtk-doc format for gtkdebug to gtksmiley
Ankit Vani <a@nevitus.org>
parents: 33527
diff changeset
46 * pidgin_docklet_get_status_icon:
35c615531b2a Convert docs from doxygen to gtk-doc format for gtkdebug to gtksmiley
Ankit Vani <a@nevitus.org>
parents: 33527
diff changeset
47 *
35457
02d94347d1f9 Fix free-form returns in pidgin
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
48 * Returns: The #GtkStatusIcon used for the docklet.
33246
b9a5b8ddf92c Add API to access the underlying GtkStatusIcon for the docklet.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
49 */
b9a5b8ddf92c Add API to access the underlying GtkStatusIcon for the docklet.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
50 GtkStatusIcon *pidgin_docklet_get_status_icon(void);
b9a5b8ddf92c Add API to access the underlying GtkStatusIcon for the docklet.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32790
diff changeset
51
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
52 void pidgin_docklet_init(void);
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
53 void pidgin_docklet_uninit(void);
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
54 void*pidgin_docklet_get_handle(void);
6208
46464ee45f48 [gaim-migrate @ 6694]
Robert McQueen <robot101@debian.org>
parents: 6077
diff changeset
55
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32307
diff changeset
56 G_END_DECLS
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 32307
diff changeset
57
32307
bef14ba3eda1 Remove GtkDocklet abstraction and merge GtkStatusIcon code into it.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 29641
diff changeset
58 #endif /* _GTKDOCKLET_H_ */
6077
a4e87d8f61a0 [gaim-migrate @ 6536]
Herman Bloggs <herman@bluedigits.com>
parents:
diff changeset
59

mercurial