[vlc-devel] (Do) I need getIntf() for QT4 WM_APPCOMMAND mediakeys support

Kaarlo Räihä agent_007 at luukku.com
Fri Oct 10 17:16:40 CEST 2008


Hi. As some of you might already know, I am trying to add better mediakey support Win32 builds by handling WM_APPCOMMAND messages in QT4 and skins2 interface. 

With QT4 problem is, that reimplementing winEventFilter( MSG *msg, long *result ) doesn't allow me to bring any pointers or any other stuff to function via parameters and I need to have pointer to VLC internals so I can control it somehow. Skins2 has getIntf() which I assume allows me to avoid this issue. 

So is there something similar in VLC QT4 code or would it be against design choices of VLCs QT4 GUI? (it seems every function in qt4.cpp has vlc_object_t * or intf_thread_t * as parameter)

...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku




More information about the vlc-devel mailing list