[vlc-devel] Re: HowTo wait for a function to end before executing new code

Cyril Deguet cyril.deguet at via.ecp.fr
Fri Sep 23 20:14:49 CEST 2005


On Fri, Sep 23, 2005, Pierre-Hugues PERET wrote:
> Basically, i want to open a window from the skins2 interface and to wait 
> that the user has closed this window before continuing execution of vlc.
> here is the piece of code in skin_main.cpp

hi,
have a look at skins2/src/dialogs.cpp, for instance in
Dialogs::showChangeSkin() you see that a callback showPlaylistLoadCB
is passed to the wx module, and called when the dialog is closed.
You may want to do a similar thing...
regards

-- 
Cyril

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list