mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-20 04:41:36 +02:00
Fix cross compiling/linking once again: today's episode: scanmanager and sip_twitter.
This commit is contained in:
1
thirdparty/qtweetlib/CMakeLists.txt
vendored
1
thirdparty/qtweetlib/CMakeLists.txt
vendored
@@ -12,6 +12,7 @@ add_definitions( -DQT_SHARED )
|
||||
|
||||
if(WIN32)
|
||||
set(PLATFORM_SPECIFIC_LIBS "ws2_32.dll" "advapi32.dll" )
|
||||
add_definitions( -DQTWEETLIB_MAKEDLL )
|
||||
endif(WIN32)
|
||||
|
||||
set(TOMAHAWK_QTWEETLIB_SOURCES
|
||||
|
7
thirdparty/qtweetlib/qtweetlib/src/oauth.h
vendored
7
thirdparty/qtweetlib/qtweetlib/src/oauth.h
vendored
@@ -40,8 +40,11 @@ class QTWEETLIBSHARED_EXPORT OAuth : public QObject
|
||||
public:
|
||||
OAuth(QObject *parent = 0);
|
||||
OAuth(const QByteArray& consumerKey, const QByteArray& consumerSecret, QObject *parent = 0);
|
||||
|
||||
enum HttpMethod {GET, POST, PUT, DELETE};
|
||||
#undef GET
|
||||
#undef POST
|
||||
#undef PUT
|
||||
#undef DELETE
|
||||
enum HttpMethod {GET, POST, PUT, DELETE};
|
||||
|
||||
void parseTokens(const QByteArray& response);
|
||||
QByteArray generateAuthorizationHeader(const QUrl& url, HttpMethod method);
|
||||
|
Reference in New Issue
Block a user