| 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 20 * 02111-1301, USA. |
20 * 02111-1301, USA. |
| 21 * |
21 * |
| 22 */ |
22 */ |
| 23 |
23 |
| 24 #ifdef HAVE_CONFIG_H |
24 /* This file defines PURPLE_PLUGINS and includes all the libpurple headers */ |
| 25 # include <config.h> |
25 #include <purple.h> |
| 26 #endif |
|
| 27 |
|
| 28 /* config.h may define PURPLE_PLUGINS; protect the definition here so that we |
|
| 29 * don't get complaints about redefinition when it's not necessary. */ |
|
| 30 #ifndef PURPLE_PLUGINS |
|
| 31 # define PURPLE_PLUGINS |
|
| 32 #endif |
|
| 33 |
|
| 34 #include <glib.h> |
|
| 35 |
|
| 36 /* This will prevent compiler errors in some instances and is better explained in the |
|
| 37 * how-to documents on the wiki */ |
|
| 38 #ifndef G_GNUC_NULL_TERMINATED |
|
| 39 # if __GNUC__ >= 4 |
|
| 40 # define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) |
|
| 41 # else |
|
| 42 # define G_GNUC_NULL_TERMINATED |
|
| 43 # endif |
|
| 44 #endif |
|
| 45 |
|
| 46 #include <notify.h> |
|
| 47 #include <plugin.h> |
|
| 48 #include <version.h> |
|
| 49 |
26 |
| 50 /* This function is the callback for the plugin action we added. All we're |
27 /* This function is the callback for the plugin action we added. All we're |
| 51 * doing here is displaying a message. When the user selects the plugin |
28 * doing here is displaying a message. When the user selects the plugin |
| 52 * action, this function is called. */ |
29 * action, this function is called. */ |
| 53 static void |
30 static void |