[vlc] Re: creating a new interface
Sigmund Augdal
sigmunau at stud.ntnu.no
Fri Mar 11 10:26:19 CET 2005
On Fri, Mar 11, 2005 at 10:00:04AM +0100, Antoine wrote:
> Hello,
> i m currently working on a new interface for vlc.
> I don't manage to find where the choice of the module launched
> (depending on the -I arg) is done, and how.
> thank you !
The developer documentation has a section on how to create a interface
module. It is fairly up to date. Basically the modules has to have
add_capability( "interface", <some number> );
in the module header. when -I is not used the interfaces are tried in order
from highest number to lowest. when -I is used modules whos name (as defined
in modules.am) match the parameter to -I or who has a shortcut (defined with
add_shortcut(); ) that match is considered first (again in order of the
number).
The module selection is done in the module_need function
Sigmund
>
> --
> This is the vlc mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://www.videolan.org/support/lists.html
--
Sigmund Augdal
Edgar B. Schieldropsv 29-14
N-7033 Trondheim
Norway
tlf: 91809129
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list