[vlc-devel] Separation of UI and core?
remi at remlab.net
Fri Jun 5 12:39:43 CEST 2009
On Fri, 5 Jun 2009 11:38:01 +0200, Andre-John Mas <ajmas at sympatico.ca>
> Although there is libvlc, I am curious whether there has been any
> attempt to separate the UI and the core functionality in the main VLC
> player? The idea being is that the separation into 'UI layer' and
> 'functional layer' would allow focusing of work and ensure that
> careful thought is given to where something should live. An example of
> other projects that have taken this approach:
> - Pidgin, which provides libpurple. This 'core' is used by Pidgin,
> Finch and Adium
> - Webkit, formerly KHTML, which is used by Safari, Chrome and
> Konquerer, amongst others
> I haven't managed to get VLC built yet, so I may find that I am
> suggesting something that is already the case.
In VLC interfaces are independent plugins. This is somewhat superior to
using libvlc, as it enables multiple concurrent interfaces (views) sharing
the same playlist (model) and playlist thread (controller). If the UI
controls libvlc, then there can evidently be only one UI.
More information about the vlc-devel