mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
make tomahawk compile on windows again
This commit is contained in:
@@ -61,7 +61,7 @@ public:
|
|||||||
// only used when loading from dbcmd
|
// only used when loading from dbcmd
|
||||||
static dyncontrol_ptr createControl( const QString& generatorType, const QString& controlType = QString() );
|
static dyncontrol_ptr createControl( const QString& generatorType, const QString& controlType = QString() );
|
||||||
|
|
||||||
static void registerFactory( const QString& type, GeneratorFactoryInterface* interface );
|
static void registerFactory( const QString& type, GeneratorFactoryInterface* iface );
|
||||||
static QStringList types();
|
static QStringList types();
|
||||||
static QStringList typeSelectors( const QString& type );
|
static QStringList typeSelectors( const QString& type );
|
||||||
|
|
||||||
|
@@ -45,6 +45,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
|
#include <windows.h>
|
||||||
// code from patch attached to QTBUG-19064 by Honglei Zhang
|
// code from patch attached to QTBUG-19064 by Honglei Zhang
|
||||||
LRESULT QT_WIN_CALLBACK qt_LowLevelKeyboardHookProc( int nCode, WPARAM wParam, LPARAM lParam );
|
LRESULT QT_WIN_CALLBACK qt_LowLevelKeyboardHookProc( int nCode, WPARAM wParam, LPARAM lParam );
|
||||||
HHOOK hKeyboardHook;
|
HHOOK hKeyboardHook;
|
||||||
|
Reference in New Issue
Block a user