vlc_linux/vlc-3.0.16/modules/gui/qt/main_interface.cpp
/*****************************************************************************
 * PopupMenuCB: callback triggered by the intf-popupmenu playlist variable.
 *  We don't show the menu directly here because we don't want the
 *  caller to block for a too long time.
 *****************************************************************************/
callback triggered by the intf-popupmenu playlist variable.
We don't show the menu directly here because we don't want the
caller to block for a too long time.
callback triggered by the intf - popupmenu playlist variable . We don ' t show the menu directly here because we don ' t want the caller to block for a too long time .
static int PopupMenuCB( vlc_object_t *, const char *,
                        vlc_value_t, vlc_value_t new_val, void *param )
{
    intf_thread_t *p_intf = (intf_thread_t *)param;
    if( p_intf->pf_show_dialog )
    {
        p_intf->pf_show_dialog( p_intf, INTF_DIALOG_POPUPMENU,
                                new_val.b_bool, NULL );
    }
    return VLC_SUCCESS;
}
static int PopupMenuCB ( vlc_object_t * , const char * , vlc_value_t , vlc_value_t new_val , void * param ) { intf_thread_t * p_intf = ( intf_thread_t * ) param ; if ( p_intf -> pf_show_dialog ) { p_intf -> pf_show_dialog ( p_intf , INTF_DIALOG_POPUPMENU , new_val . b_bool , NULL ) ; } return VLC_SUCCESS ; }
PopupMenuCB: callback triggered by the intf-popupmenu playlist variable.
PopupMenuCB : callback triggered by the intf - popupmenu playlist variable .