From: Dennis S. <sy...@yo...> - 2004-09-28 19:52:44
|
On Tue, 2004-09-28 at 22:14 +0300, Vitaly V. Bursov wrote: > May be implement something like VISUAL_PLUGIN_FLAG_SPECIAL but > in an opposite way. I.e. plugin must be used only with this > application. This application simply provide some kind of > special data/interfaces that can not be used with Libvisual. > > One nice way to implement this is to use const char* identifier > to specify, say, application id. Numeric id's -- enums and > #defines not very useful here, I think. > > We could place this id to VisPluginInfo. If so, we should add > some void *dummys[5]; so we can extend functionality further > without breaking plugin ABI. Ok, this might sound a bit lame, but I kinda lost you here :) Instead of flags, use char *indentifiers or ?, also with different applications, how do we make sure that indentifiers don't collide. Let's keep in mind that libvisual will be very succesful and used everywhere, even on the mobile phone (ehm.. alright I'm a bit dreamy today) but you got my point... About ABI compatibility, we surely need this at some point, but I rather wait till we're not in heavy development anylonger. Cheers, Dennis |