modules/evry*: update to api changes

SVN revision: 65775
This commit is contained in:
Hannes Janetzek 2011-12-01 10:59:43 +00:00
parent 5c0d6f00ed
commit 247989276c
1 changed files with 5 additions and 1 deletions

View File

@ -1213,8 +1213,12 @@ _plugins_init(const Evry_API *_api)
WEBLINK = evry->type_register("WEBLINK");
#define EVRY_PLUGIN_NEW(_base, _name, _icon, _item_type, _begin, _finish, _fetch) \
evry->plugin_new(EVRY_PLUGIN(E_NEW(_base, 1)), _name, _(_name), _icon, _item_type, \
_begin, _finish, _fetch)
#define PLUGIN_NEW(_name, _type, _icon, _begin, _finish, _fetch, _complete, _request, _data_cb, _host, _trigger) { \
p = EVRY_PLUGIN_NEW(Plugin, _name, _icon, _type, _begin, _finish, _fetch, NULL); \
p = EVRY_PLUGIN_NEW(Plugin, _name, _icon, _type, _begin, _finish, _fetch); \
p->config_path = _config_path; \
plugins = eina_list_append(plugins, p); \
p->complete = _complete; \