pidgin/gtkaccount.h

Fri, 14 Jan 2022 00:11:38 -0600

author
Gary Kramlich <grim@reaperworld.com>
date
Fri, 14 Jan 2022 00:11:38 -0600
changeset 41250
e82d07ed6862
parent 41124
95555046173e
child 41389
c7ca6a49977a
permissions
-rw-r--r--

Remove purple_utf8_strftime

Testing Done:
Ran both finch and pidgin and verified that the timestamps in their debug windows remained the same format.

Reviewed at https://reviews.imfreedom.org/r/1227/

20147
66f05a854eee applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents: 19859
diff changeset
1 /* pidgin
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
2 *
15572
e069b22c1fc4 headers to pidgin
Sean Egan <seanegan@pidgin.im>
parents: 15562
diff changeset
3 * Pidgin is the legal property of its developers, whose names are too numerous
8046
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7820
diff changeset
4 * to list here. Please refer to the COPYRIGHT file distributed with this
c581b20a47d6 [gaim-migrate @ 8730]
Sean Egan <seanegan@pidgin.im>
parents: 7820
diff changeset
5 * source distribution.
7015
bea9111282b3 [gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents: 6120
diff changeset
6 *
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
10 * (at your option) any later version.
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
11 *
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
15 * GNU General Public License for more details.
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
16 *
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
18 * 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: 16254
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
20 */
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
21
40502
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
22 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
23 # error "only <pidgin.h> may be included directly"
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
24 #endif
875489636847 pidgin.h phase3: create pidgin.h and force its usage
Gary Kramlich <grim@reaperworld.com>
parents: 40360
diff changeset
25
35487
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
26 #ifndef _PIDGINACCOUNT_H_
494f09f7f331 Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents: 35451
diff changeset
27 #define _PIDGINACCOUNT_H_
35451
206524351826 Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents: 35415
diff changeset
28
40360
e21f3bbcc2a5 Update all of the pidgin code to include purple.h
Gary Kramlich <grim@reaperworld.com>
parents: 37094
diff changeset
29 #include <purple.h>
6120
a2e246aa5275 [gaim-migrate @ 6589]
Nathan Walp <nwalp@pidgin.im>
parents: 6119
diff changeset
30
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
31 typedef enum
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
32 {
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
33 PIDGIN_ADD_ACCOUNT_DIALOG,
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
34 PIDGIN_MODIFY_ACCOUNT_DIALOG
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
35
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
36 } PidginAccountDialogType;
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
37
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
38
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 20890
diff changeset
39 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: 20890
diff changeset
40
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
41 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
42 * pidgin_accounts_window_show:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
43 *
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
44 * Shows the accounts window.
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
45 */
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
46 void pidgin_accounts_window_show(void);
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
47
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
48 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
49 * pidgin_accounts_window_hide:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
50 *
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
51 * Hides the accounts window.
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
52 */
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
53 void pidgin_accounts_window_hide(void);
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
54
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
55 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
56 * pidgin_account_dialog_show:
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 34586
diff changeset
57 * @type: The type of dialog.
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 34586
diff changeset
58 * @account: The associated account, or %NULL for an Add dialog.
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
59 *
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
60 * Shows an add/modify account dialog.
6119
5b4c66789a8c [gaim-migrate @ 6588]
Christian Hammond <chipx86@chipx86.com>
parents: 5563
diff changeset
61 */
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
62 void pidgin_account_dialog_show(PidginAccountDialogType type,
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
63 PurpleAccount *account);
5563
d5a7852aa0cb [gaim-migrate @ 5965]
Christian Hammond <chipx86@chipx86.com>
parents:
diff changeset
64
7015
bea9111282b3 [gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents: 6120
diff changeset
65 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
66 * pidgin_accounts_get_ui_ops:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
67 *
41087
4fc5b0ddf55e Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40502
diff changeset
68 * Returns the GTK account UI ops
7015
bea9111282b3 [gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents: 6120
diff changeset
69 *
35393
00f876b129bc Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents: 34586
diff changeset
70 * Returns: The UI operations structure.
7015
bea9111282b3 [gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents: 6120
diff changeset
71 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15572
diff changeset
72 PurpleAccountUiOps *pidgin_accounts_get_ui_ops(void);
7015
bea9111282b3 [gaim-migrate @ 7578]
Christian Hammond <chipx86@chipx86.com>
parents: 6120
diff changeset
73
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
74 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
75 * pidgin_accounts_get_handle:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
76 *
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
77 * Returns the gtkaccounts handle
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
78 *
41087
4fc5b0ddf55e Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40502
diff changeset
79 * Returns: The handle to the GTK account system
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
80 */
34585
cc4b9443deb9 Renamed pidgin_account_[init,uninit,get_handle] to pidgin_accounts_[init,uninit,get_handle].
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
81 void *pidgin_accounts_get_handle(void);
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
82
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
83 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
84 * pidgin_accounts_init:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
85 *
41087
4fc5b0ddf55e Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40502
diff changeset
86 * Initializes the GTK account system
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
87 */
34585
cc4b9443deb9 Renamed pidgin_account_[init,uninit,get_handle] to pidgin_accounts_[init,uninit,get_handle].
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
88 void pidgin_accounts_init(void);
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
89
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
90 /**
35415
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
91 * pidgin_accounts_uninit:
ba28be1a7611 Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents: 35393
diff changeset
92 *
41087
4fc5b0ddf55e Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 40502
diff changeset
93 * Uninitializes the GTK account system
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
94 */
34585
cc4b9443deb9 Renamed pidgin_account_[init,uninit,get_handle] to pidgin_accounts_[init,uninit,get_handle].
Ankit Vani <a@nevitus.org>
parents: 32790
diff changeset
95 void pidgin_accounts_uninit(void);
9609
509595c974af [gaim-migrate @ 10452]
Gary Kramlich <grim@pidgin.im>
parents: 8046
diff changeset
96
32790
b95c7c504118 Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents: 20890
diff changeset
97 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: 20890
diff changeset
98
15562
8c8249fe5e3c gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
99 #endif /* _PIDGINACCOUNT_H_ */

mercurial