Thu, 07 Aug 2025 21:40:13 -0500
Add an avatar-for-display property to Purple.ContactInfo
Testing Done:
Ran the tests under valgrind and called in the turtles.
Reviewed at https://reviews.imfreedom.org/r/4086/
| 35429 | 1 | /* |
|
40584
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
2 | * Purple - Internet Messaging Library |
|
6f198a69ac48
A bunch of documentation cleanups
Gary Kramlich <grim@reaperworld.com>
parents:
40474
diff
changeset
|
3 | * Copyright (C) Pidgin Developers <devel@pidgin.im> |
| 9943 | 4 | * |
| 15884 | 5 | * Purple is the legal property of its developers, whose names are too numerous |
|
43086
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
6 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 9943 | 7 | * source distribution. |
| 8 | * | |
|
43086
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
9 | * This library is free software; you can redistribute it and/or modify it |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
10 | * under the terms of the GNU General Public License as published by the Free |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
11 | * Software Foundation; either version 2 of the License, or (at your option) |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
12 | * any later version. |
| 9943 | 13 | * |
|
43086
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
14 | * This library is distributed in the hope that it will be useful, but WITHOUT |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
16 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
17 | * more details. |
| 9943 | 18 | * |
|
43086
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
19 | * You should have received a copy of the GNU General Public License along with |
|
de9a870ce36e
Standardize license headers in Windows files
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
42376
diff
changeset
|
20 | * this library; if not, see <https://www.gnu.org/licenses/>. |
| 9943 | 21 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35436
diff
changeset
|
22 | |
|
40474
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40206
diff
changeset
|
23 | #if !defined(PURPLE_GLOBAL_HEADER_INSIDE) && !defined(PURPLE_COMPILATION) |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40206
diff
changeset
|
24 | # error "only <purple.h> may be included directly" |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40206
diff
changeset
|
25 | #endif |
|
1341be8e3402
Make it so only libpurple can directly include libpurple header files.
Gary Kramlich <grim@reaperworld.com>
parents:
40206
diff
changeset
|
26 | |
|
42376
c6aa66fec38a
Prefix version.h with purple
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41682
diff
changeset
|
27 | #ifndef PURPLE_VERSION_CONSTS_H |
|
c6aa66fec38a
Prefix version.h with purple
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41682
diff
changeset
|
28 | #define PURPLE_VERSION_CONSTS_H |
|
41682
289867067994
Clean up a bunch of stuff in internal.h
Gary Kramlich <grim@reaperworld.com>
parents:
41199
diff
changeset
|
29 | |
| 35429 | 30 | /** |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
31 | * PURPLE_MAJOR_VERSION: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
32 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
33 | * The major version of the running libpurple. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
34 | */ |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15884
diff
changeset
|
35 | #define PURPLE_MAJOR_VERSION (@PURPLE_MAJOR_VERSION@) |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
36 | |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
37 | /** |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
38 | * PURPLE_MINOR_VERSION: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
39 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
40 | * The minor version of the running libpurple. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
41 | */ |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15884
diff
changeset
|
42 | #define PURPLE_MINOR_VERSION (@PURPLE_MINOR_VERSION@) |
|
35397
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
43 | |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
44 | /** |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
45 | * PURPLE_MICRO_VERSION: |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
46 | * |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
47 | * The micro version of the running libpurple. |
|
31fa3a1aeff5
Move changes from soc.2013.gobjectification.gtkdoc to this branch
Ankit Vani <a@nevitus.org>
parents:
35393
diff
changeset
|
48 | */ |
|
16651
218fe51ae7b7
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
15884
diff
changeset
|
49 | #define PURPLE_MICRO_VERSION (@PURPLE_MICRO_VERSION@) |
| 9943 | 50 | |
|
40206
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
51 | /** |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
52 | * PURPLE_EXTRA_VERSION: |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
53 | * |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
54 | * The "extra" part of the version number if anything. Typical values are |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
55 | * "devel", "beta1", "rc2", etc. |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
56 | */ |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
57 | #define PURPLE_EXTRA_VERSION ("@PURPLE_EXTRA_VERSION@") |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
58 | |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
59 | /** |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
60 | * PURPLE_VERSION |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
61 | * |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
62 | * The entire version as a string. |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
63 | */ |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
64 | #define PURPLE_VERSION ("@PURPLE_VERSION@") |
|
566c210f7003
Add PURPLE_VERSION and PURPLE_EXTRA_VERSION to libpurple/version.h and clean up some other related stuff
Gary Kramlich <grim@reaperworld.com>
parents:
39659
diff
changeset
|
65 | |
|
42376
c6aa66fec38a
Prefix version.h with purple
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
41682
diff
changeset
|
66 | #endif /* PURPLE_VERSION_CONSTS_H */ |