Re: shared library support?

2006-07-25 Thread Linus Nielsen Feltzing
Bill Janssen wrote: Yes, that's what I'm doing now. Works fine, except that you have multiple copies of the code. Note that plugins themselves are shared libraries; it wouldn't take much to extend the plugin API to include a function to allow plugins themselves to load other shared libraries, a

Re: shared library support?

2006-07-25 Thread Bill Janssen
> Exactly, just link the library statically to the plugin. Sure each plugin > using the lib would drag around it's own copy of it, but disk space is the > only thing a DAP has plenty of. Yes, that's what I'm doing now. Works fine, except that you have multiple copies of the code. Note that plugi

Re: half-idea for #ifdef and key deifnition hell...

2006-07-25 Thread Jonathan Gordon
well, seen as im not really getting any feedback, Ive implemented this all for the list widget (which includes the tree and menus) the patch is at http://jdgordon.mine.nu:8080/button_changes.patch please someone give it a try and let me know how it goes. The buttons for the iriver's are the same,

Re: shared library support?

2006-07-25 Thread Fredrik Öhrn
Linus Nielsen Feltzing wrote: > Jonathan Gordon wrote: >> what about loading the static libraries into the codec or audio >> buffer? it would mean no audio in those plugins, but would add heaps >> of functionality. > > That is a solution, but I still don't understand why it would be a > problem to