| 17 * along with this program; if not, write to the Free Software |
17 * along with this program; if not, write to the Free Software |
| 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 19 * 02111-1301, USA. |
19 * 02111-1301, USA. |
| 20 */ |
20 */ |
| 21 |
21 |
| 22 #ifdef HAVE_CONFIG_H |
22 /* When writing a third-party plugin, do not include libpurple's internal.h |
| 23 # include <config.h> |
23 * included below. This file is for internal libpurple use only. We're including |
| 24 #endif |
24 * it here for our own convenience. */ |
| 25 |
|
| 26 #ifndef PURPLE_PLUGINS |
|
| 27 # define PURPLE_PLUGINS |
|
| 28 #endif |
|
| 29 |
|
| 30 #include "internal.h" |
25 #include "internal.h" |
| 31 |
26 |
| 32 #include "plugins.h" |
27 /* This file defines PURPLE_PLUGINS and includes all the libpurple headers */ |
| 33 #include "pluginpref.h" |
28 #include <purple.h> |
| 34 #include "prefs.h" |
|
| 35 #include "version.h" |
|
| 36 |
29 |
| 37 static PurplePluginPrefFrame * |
30 static PurplePluginPrefFrame * |
| 38 get_plugin_pref_frame(PurplePlugin *plugin) { |
31 get_plugin_pref_frame(PurplePlugin *plugin) { |
| 39 PurplePluginPrefFrame *frame; |
32 PurplePluginPrefFrame *frame; |
| 40 PurplePluginPref *ppref; |
33 PurplePluginPref *ppref; |