CVS Commit: vlc
gbazin at netcourrier.com
Sun May 5 10:32:06 CEST 2002
On Friday 03 May 2002 22:49, cvs at videolan.org wrote:
> Log Message:
> * ./include/modules_inner.h, ./src/misc/configuration.c: support for
> options callbacks.
> They don't take any argument for the moment, but this will change when
> I'm finished with my other vlc changes.
By the way, I intentionnaly provided no way to pass arguments to the
callbacks because I think it's adding too much complexity where it
shouldn't be needed.
The only information the callback needs to pass to the app is that a
setting has changed. Implicitly the application will know which one (it has
registered the callback after all) and will be able to get the new config
value with config_Get*Variable(). I know it may sound like overkill but I
think it actually simplifies everything.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel