On Tue, Jan 06, 2004 at 08:36:59PM +0100, Dirk Meyer wrote:
> This is only for one plugin (and a bad hack). What about making
> something like
> 
> plugin.register('whaterver', type='webserver')
> 
> Than web and recorderserver call plugin.init(). If the following
> stuff:

That seems logical to me... the type is a named parameter, so we
default it to the main freevo core and nothing else would have to
change.

> This (easy) could make it possible to have different plugins for the
> servers. But the servers also need support for the plugins. The
> plugin.py file only creates an object. If we want some kind of
> DaemonPlugin, the main function needs to poll the plugins.


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to