[vlc-devel] commit: VLC pointer variable callback -> Qt4 signal class ( Rémi Denis-Courmont )

Dominique Leuenberger dominique-ffmpeg-devel at leuenberger.net
Tue Mar 10 16:11:12 CET 2009


Quoting Rémi Denis-Courmont <remi at remlab.net>:

>> [...]
>>> +int QVLCVariable::callback (vlc_object_t *object, const char *,
>>> +                            vlc_value_t, vlc_value_t cur, void *data)
>>> +{
>>> +    QVLCVariable *self = (QVLCVariable *)data;
>>> +    emit self->pointerChanged (object, cur.p_address);
>>> +}
>>
>> That's the commit referred to in my previous post. Just as reference.
>
> I think you're mistaken.

Not me, but the compiler if you do not agree:

dialogs/external.cpp: In static member function 'static int  
QVLCVariable::callback(vlc_object_t*, const char*, vlc_value_t,  
vlc_value_t, void*)
':
dialogs/external.cpp:57: warning: control reaches end of non-void function

Dominique.



More information about the vlc-devel mailing list