mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
Remove unused qtweetlib_export.h, move our custom tomahawkoauthtwitter
to the tomahawk_qtweetlib library where it belongs. Probably broke Windows again. Sorry domme :-)
This commit is contained in:
@@ -125,6 +125,7 @@ INCLUDE_DIRECTORIES(
|
|||||||
../rtaudio
|
../rtaudio
|
||||||
../qxt/qxtweb-standalone/qxtweb
|
../qxt/qxtweb-standalone/qxtweb
|
||||||
../thirdparty/qtweetlib/qtweetlib/src
|
../thirdparty/qtweetlib/qtweetlib/src
|
||||||
|
../thirdparty/qtweetlib/tomahawk-custom
|
||||||
|
|
||||||
/usr/include/taglib
|
/usr/include/taglib
|
||||||
/usr/local/include/taglib
|
/usr/local/include/taglib
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
#include "musicscanner.h"
|
#include "musicscanner.h"
|
||||||
#include "tomahawksettings.h"
|
#include "tomahawksettings.h"
|
||||||
#include "sip/SipHandler.h"
|
#include "sip/SipHandler.h"
|
||||||
#include "sip/twitter/tomahawkoauthtwitter.h"
|
#include "tomahawkoauthtwitter.h"
|
||||||
#include <database/database.h>
|
#include <database/database.h>
|
||||||
#include "scanmanager.h"
|
#include "scanmanager.h"
|
||||||
|
|
||||||
|
@@ -8,17 +8,16 @@ add_definitions( -DSIPDLLEXPORT_PRO )
|
|||||||
|
|
||||||
set( twitterSources
|
set( twitterSources
|
||||||
twitter.cpp
|
twitter.cpp
|
||||||
tomahawkoauthtwitter.cpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set( twitterHeaders
|
set( twitterHeaders
|
||||||
twitter.h
|
twitter.h
|
||||||
tomahawkoauthtwitter.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
include_directories( . ${CMAKE_CURRENT_BINARY_DIR} ..
|
||||||
${QT_INCLUDE_DIR}
|
${QT_INCLUDE_DIR}
|
||||||
${CMAKE_SOURCE_DIR}/thirdparty/qtweetlib/src
|
${CMAKE_SOURCE_DIR}/thirdparty/qtweetlib/qtweetlib/src
|
||||||
|
${CMAKE_SOURCE_DIR}/thirdparty/qtweetlib/tomahawk-custom
|
||||||
)
|
)
|
||||||
|
|
||||||
qt4_wrap_cpp( twitterMoc ${twitterHeaders} )
|
qt4_wrap_cpp( twitterMoc ${twitterHeaders} )
|
||||||
|
6
thirdparty/qtweetlib/CMakeLists.txt
vendored
6
thirdparty/qtweetlib/CMakeLists.txt
vendored
@@ -83,6 +83,8 @@ set(TOMAHAWK_QTWEETLIB_SOURCES
|
|||||||
qtweetlib/src/qtweetentityurl.cpp
|
qtweetlib/src/qtweetentityurl.cpp
|
||||||
qtweetlib/src/qtweetentityhashtag.cpp
|
qtweetlib/src/qtweetentityhashtag.cpp
|
||||||
qtweetlib/src/qtweetentityusermentions.cpp
|
qtweetlib/src/qtweetentityusermentions.cpp
|
||||||
|
|
||||||
|
tomahawk-custom/tomahawkoauthtwitter.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(TOMAHAWK_QTWEETLIB_HEADERS
|
set(TOMAHAWK_QTWEETLIB_HEADERS
|
||||||
@@ -154,6 +156,8 @@ set(TOMAHAWK_QTWEETLIB_HEADERS
|
|||||||
qtweetlib/src/qtweetentityurl.h
|
qtweetlib/src/qtweetentityurl.h
|
||||||
qtweetlib/src/qtweetentityhashtag.h
|
qtweetlib/src/qtweetentityhashtag.h
|
||||||
qtweetlib/src/qtweetentityusermentions.h
|
qtweetlib/src/qtweetentityusermentions.h
|
||||||
|
|
||||||
|
tomahawk-custom/tomahawkoauthtwitter.h
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
@@ -172,7 +176,7 @@ target_link_libraries(tomahawk_qtweetlib
|
|||||||
qjson
|
qjson
|
||||||
)
|
)
|
||||||
|
|
||||||
SET_TARGET_PROPERTIES( tomahawk_qtweetlib PROPERTIES DEFINE_SYMBOL MAKE_QTWEETLIB_LIB )
|
#SET_TARGET_PROPERTIES( tomahawk_qtweetlib PROPERTIES DEFINE_SYMBOL MAKE_QTWEETLIB_LIB )
|
||||||
|
|
||||||
INCLUDE( ${CMAKE_CURRENT_SOURCE_DIR}/twitter-api-keys )
|
INCLUDE( ${CMAKE_CURRENT_SOURCE_DIR}/twitter-api-keys )
|
||||||
|
|
||||||
|
18
thirdparty/qtweetlib/qtweetlib_export.h
vendored
18
thirdparty/qtweetlib/qtweetlib_export.h
vendored
@@ -1,18 +0,0 @@
|
|||||||
#ifndef QTWEETLIB_EXPORT_H
|
|
||||||
#define QTWEETLIB_EXPORT_H
|
|
||||||
|
|
||||||
#include <QtCore/QtGlobal>
|
|
||||||
|
|
||||||
#ifdef Q_WS_WIN
|
|
||||||
# define QTWEETLIB_MAKEDLL
|
|
||||||
# if defined(MAKE_QTWEETLIB_LIB)
|
|
||||||
# define QTWEETLIB_EXPORT Q_DECL_EXPORT
|
|
||||||
# else
|
|
||||||
# define QTWEETLIB_EXPORT Q_DECL_IMPORT
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# define QTWEETLIB_EXPORT Q_DECL_EXPORT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
#include <oauthtwitter.h>
|
#include <oauthtwitter.h>
|
||||||
|
|
||||||
#include "../sipdllmacro.h"
|
#include "qtweetlib_global.h"
|
||||||
|
|
||||||
class SIPDLLEXPORT TomahawkOAuthTwitter : public OAuthTwitter
|
class QTWEETLIBSHARED_EXPORT TomahawkOAuthTwitter : public OAuthTwitter
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
Reference in New Issue
Block a user