comparison gui/ui/actions.c @ 33696:24d919fb6778

Don't let MPlayer directly call user interface functions. Provide the necessary actions for MPlayer commands by guiGetEvent type guiRunCommand instead. That way, access is possible through the official interface function.
author ib
date Wed, 29 Jun 2011 15:22:22 +0000
parents 45553d0f65c6
children c919fb3d2531
comparison
equal deleted inserted replaced
33695:60093217cb01 33696:24d919fb6778
414 uiEventHandling(evStop, 0); 414 uiEventHandling(evStop, 0);
415 415
416 if (guiInfo.Playing == GUI_PLAY) 416 if (guiInfo.Playing == GUI_PLAY)
417 uiEventHandling(evPlay, 0); 417 uiEventHandling(evPlay, 0);
418 } 418 }
419
420 void uiStop(void)
421 {
422 uiEventHandling(evStop, 0);
423 }