diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-04 23:13:33 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-01-04 23:13:33 +0100 |
commit | 23273bf47a94c759d36584dad7053f0867556869 (patch) | |
tree | d444d0cf2f666cf04e6d9b266b2f37aca342da4a /src/plugins/demo | |
parent | fd7b2f4fabc9be200588328bf07a790c7d84c164 (diff) | |
download | weechat-23273bf47a94c759d36584dad7053f0867556869.zip |
Added macros for name/description/author/version/license of plugins
Diffstat (limited to 'src/plugins/demo')
-rw-r--r-- | src/plugins/demo/demo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index 719e12450..e65bfd533 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -35,9 +35,11 @@ #include "../weechat-plugin.h" -char plugin_name[] = "demo"; -char plugin_version[] = "0.1"; -char plugin_description[] = "Demo plugin for WeeChat"; +WEECHAT_PLUGIN_NAME("demo"); +WEECHAT_PLUGIN_DESCRIPTION("Demo plugin for WeeChat"); +WEECHAT_PLUGIN_AUTHOR("FlashCode <flashcode@flashtux.org>"); +WEECHAT_PLUGIN_VERSION("0.1"); +WEECHAT_PLUGIN_LICENSE("GPL"); struct t_weechat_plugin *weechat_demo_plugin = NULL; #define weechat_plugin weechat_demo_plugin |