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

Pierre-Hugues PERET pype at gameflux.com
Fri Sep 23 22:56:03 CEST 2005


I got it !
Combining the callback function with wome code i already have, and i got 
the thing working.
thx to all
and thx to ipkiss who guided me on irc...

At 20:14 23/09/2005 +0200, Cyril Deguet wrote:
>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

-- 
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