Mercurial > pidgin
view libgaim/plugins/simple.c @ 15175:bbeb1dfcb25b
[gaim-migrate @ 17961]
XEP-0084 and XEP-0153 both say, "the image height and width SHOULD be
between thirty-two (32) and ninety-six (96) pixels."
I realize this is a "should" and not a "must," but I think it makes
sense for us to follow it. Especially if we're already imposing the
upper-bound.
Hey, we should add a maximum filesize to this icon_spec struct.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 11 Dec 2006 17:48:40 +0000 |
| parents | 60b1bc8dbf37 |
| children |
line wrap: on
line source
#include "internal.h" #include "debug.h" #include "plugin.h" #include "version.h" /** Plugin id : type-author-name (to guarantee uniqueness) */ #define SIMPLE_PLUGIN_ID "core-ewarmenhoven-simple" static gboolean plugin_load(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin loaded.\n"); return TRUE; } static gboolean plugin_unload(GaimPlugin *plugin) { gaim_debug(GAIM_DEBUG_INFO, "simple", "simple plugin unloaded.\n"); return TRUE; } static GaimPluginInfo info = { GAIM_PLUGIN_MAGIC, GAIM_MAJOR_VERSION, GAIM_MINOR_VERSION, GAIM_PLUGIN_STANDARD, /**< type */ NULL, /**< ui_requirement */ 0, /**< flags */ NULL, /**< dependencies */ GAIM_PRIORITY_DEFAULT, /**< priority */ SIMPLE_PLUGIN_ID, /**< id */ N_("Simple Plugin"), /**< name */ VERSION, /**< version */ /** summary */ N_("Tests to see that most things are working."), /** description */ N_("Tests to see that most things are working."), "Eric Warmenhoven <eric@warmenhoven.org>", /**< author */ GAIM_WEBSITE, /**< homepage */ plugin_load, /**< load */ plugin_unload, /**< unload */ NULL, /**< destroy */ NULL, /**< ui_info */ NULL, /**< extra_info */ NULL, NULL }; static void init_plugin(GaimPlugin *plugin) { } GAIM_INIT_PLUGIN(simple, init_plugin, info)
