Mercurial > pidgin
comparison libpurple/purple.h @ 20180:034a03ae657b
Add a 'purple.h' that includes the defines and other header files required
to compile against libpurple. Thanks to John 'rekkanoryo' Bailey for the
nice description. This should get rid of all the G_GNUC_NULL_TERMINATED
compile errors many people keep getting.
Closes #2524.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 19 Sep 2007 08:26:30 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
20179:bd7244f3d491 | 20180:034a03ae657b |
---|---|
1 /** | |
2 * @file purple.h Header files and defines | |
3 * This file contains all the necessary preprocessor directives to include | |
4 * libpurple's headers and other preprocessor directives required for plugins | |
5 * or UIs to build. Inlcuding this file eliminates the need to directly | |
6 * include any other libpurple files. It will still be necessary for plugins | |
7 * to define @c PURPLE_PLUGINS before including this header. | |
8 * | |
9 * @ingroup core libpurple | |
10 */ | |
11 | |
12 /* purple | |
13 * | |
14 * Purple is the legal property of its developers, whose names are too numerous | |
15 * to list here. Please refer to the COPYRIGHT file distributed with this | |
16 * source distribution. | |
17 * | |
18 * This program is free software; you can redistribute it and/or modify | |
19 * it under the terms of the GNU General Public License as published by | |
20 * the Free Software Foundation; either version 2 of the License, or | |
21 * (at your option) any later version. | |
22 * | |
23 * This program is distributed in the hope that it will be useful, | |
24 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
26 * GNU General Public License for more details. | |
27 * | |
28 * You should have received a copy of the GNU General Public License | |
29 * along with this program; if not, write to the Free Software | |
30 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
31 */ | |
32 #ifndef _PURPLE_H | |
33 #define _PURPLE_H | |
34 | |
35 #ifndef G_GNUC_NULL_TERMINATED | |
36 # if __GNUC__ >= 4 | |
37 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) | |
38 # else | |
39 # define G_GNUC_NULL_TERMINATED | |
40 # endif | |
41 #endif | |
42 | |
43 #include <account.h> | |
44 #include <accountopt.h> | |
45 #include <blist.h> | |
46 #include <buddyicon.h> | |
47 #include <certificate.h> | |
48 #include <cipher.h> | |
49 #include <circbuffer.h> | |
50 #include <cmds.h> | |
51 #include <connection.h> | |
52 #include <conversation.h> | |
53 #include <core.h> | |
54 #include <debug.h> | |
55 #include <desktopitem.h> | |
56 #include <dnsquery.h> | |
57 #include <dnssrv.h> | |
58 #include <eventloop.h> | |
59 #include <ft.h> | |
60 #include <idle.h> | |
61 #include <imgstore.h> | |
62 #include <log.h> | |
63 #include <mime.h> | |
64 #include <nat-pmp.h> | |
65 #include <network.h> | |
66 #include <ntlm.h> | |
67 #include <notify.h> | |
68 #include <plugin.h> | |
69 #include <pluginpref.h> | |
70 #include <pounce.h> | |
71 #include <prefs.h> | |
72 #include <privacy.h> | |
73 #include <proxy.h> | |
74 #include <prpl.h> | |
75 #include <request.h> | |
76 #include <roomlist.h> | |
77 #include <savedstatuses.h> | |
78 #include <server.h> | |
79 #include <signals.h> | |
80 #include <status.h> | |
81 #include <stringref.h> | |
82 #include <stun.h> | |
83 #include <sound.h> | |
84 #include <sslconn.h> | |
85 #include <upnp.h> | |
86 #include <util.h> | |
87 #include <value.h> | |
88 #include <version.h> | |
89 #include <xmlnode.h> | |
90 #include <whiteboard.h> | |
91 | |
92 #endif |