libpurple/version.h.in

Wed, 13 May 2009 20:29:03 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Wed, 13 May 2009 20:29:03 +0000
changeset 27110
05ca719b901b
parent 25631
2506d2a66c9f
child 32438
dc8991868906
permissions
-rw-r--r--

Support custom smileys in MUCs (when all participants support BoB and a maximum
of 10 participants are in the chat).
Always announce support for BoB, since disable custom smileys will still turn
off fetching them, and BoB can be used for other purposes further on.

9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
1 /**
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
2 * @file version.h Purple Versioning
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
3 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
4 * purple
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
5 *
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
6 * Purple is the legal property of its developers, whose names are too numerous
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
7 * to list here. Please refer to the COPYRIGHT file distributed with this
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
8 * source distribution.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
9 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
10 * This program is free software; you can redistribute it and/or modify
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
11 * it under the terms of the GNU General Public License as published by
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
12 * the Free Software Foundation; either version 2 of the License, or
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
13 * (at your option) any later version.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
14 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
15 * This program is distributed in the hope that it will be useful,
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
18 * GNU General Public License for more details.
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
19 *
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
20 * You should have received a copy of the GNU General Public License
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
21 * 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: 16872
diff changeset
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
23 */
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
24 #ifndef _PURPLE_VERSION_H_
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
25 #define _PURPLE_VERSION_H_
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
26
25631
2506d2a66c9f Document the PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and
Etan Reisner <deryni@pidgin.im>
parents: 22039
diff changeset
27 /** The major version of the running libpurple. */
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
28 #define PURPLE_MAJOR_VERSION (@PURPLE_MAJOR_VERSION@)
25631
2506d2a66c9f Document the PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and
Etan Reisner <deryni@pidgin.im>
parents: 22039
diff changeset
29 /** The minor version of the running libpurple. */
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
30 #define PURPLE_MINOR_VERSION (@PURPLE_MINOR_VERSION@)
25631
2506d2a66c9f Document the PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION, and
Etan Reisner <deryni@pidgin.im>
parents: 22039
diff changeset
31 /** The micro version of the running libpurple. */
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
32 #define PURPLE_MICRO_VERSION (@PURPLE_MICRO_VERSION@)
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
33
16651
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
34 #define PURPLE_VERSION_CHECK(x,y,z) ((x) == PURPLE_MAJOR_VERSION && \
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
35 ((y) < PURPLE_MINOR_VERSION || \
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
36 ((y) == PURPLE_MINOR_VERSION && (z) <= PURPLE_MICRO_VERSION)))
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
37
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
38 #ifdef __cplusplus
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
39 extern "C" {
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
40 #endif
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
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 /**
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
43 * Checks that the libpurple version is compatible with the requested
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
44 * version
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
45 *
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
46 * @param required_major: the required major version.
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
47 * @param required_minor: the required minor version.
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
48 * @param required_micro: the required micro version.
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
49 *
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
50 * @return NULL if the versions are compatible, or a string describing
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
51 * the version mismatch if not compatible.
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
52 */
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
53 const char *purple_version_check(guint required_major, guint required_minor, guint required_micro);
218fe51ae7b7 soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <nosnilmot@pidgin.im>
parents: 15884
diff changeset
54
22039
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
55 /**
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
56 * The major version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
57 * #PURPLE_MAJOR_VERSION, which expands at compile time to the major version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
58 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
59 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
60 * @since 2.4.0
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
61 */
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
62 extern const guint purple_major_version;
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
63
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
64 /**
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
65 * The minor version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
66 * #PURPLE_MINOR_VERSION, which expands at compile time to the minor version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
67 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
68 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
69 * @since 2.4.0
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
70 */
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
71 extern const guint purple_minor_version;
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
72
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
73 /**
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
74 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
75 * The micro version of the running libpurple. Contrast with
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
76 * #PURPLE_MICRO_VERSION, which expands at compile time to the micro version of
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
77 * libpurple being compiled against.
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
78 *
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
79 * @since 2.4.0
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
80 */
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
81 extern const guint purple_micro_version;
f2aa47f387a6 Export purple_*_version in version.h.
Will Thompson <resiak@pidgin.im>
parents: 22030
diff changeset
82
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
83 #ifdef __cplusplus
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
84 }
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
85 #endif
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
86
15884
4de1981757fc sed -ie 's/gaim/purple/g'
Sean Egan <seanegan@pidgin.im>
parents: 15435
diff changeset
87 #endif /* _PURPLE_VERSION_H_ */
9943
b54a762f60fa [gaim-migrate @ 10835]
Nathan Walp <nwalp@pidgin.im>
parents:
diff changeset
88

mercurial