1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-13 20:39:57 +01:00

Don't recompile the xmpp account inside the Google account

This commit is contained in:
Dominik Schmidt 2013-07-01 13:10:26 +02:00
parent d1e67c56d1
commit 5c7868f4fe
10 changed files with 18 additions and 29 deletions

View File

@ -0,0 +1,14 @@
include_directories( ${JREEN_INCLUDE_DIR} )
# terrible hack to access ui_XmppConfigWidget.h
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../xmpp/ )
tomahawk_add_plugin(google
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES
GoogleWrapper.cpp
LINK_LIBRARIES
tomahawk_account_xmpp
)

View File

@ -19,7 +19,7 @@
#include "GoogleWrapper.h"
#include "../XmppConfigWidget.h"
#include "../xmpp/XmppConfigWidget.h"
#include "ui_XmppConfigWidget.h"
#include "utils/TomahawkUtilsGui.h"
@ -121,6 +121,4 @@ GoogleWrapper::sipPlugin()
}
#ifdef GOOGLE_WRAPPER
Q_EXPORT_PLUGIN2( Tomahawk::Accounts::AccountFactory, Tomahawk::Accounts::GoogleWrapperFactory )
#endif

View File

@ -20,7 +20,7 @@
#ifndef GOOGLEWRAPPER_H
#define GOOGLEWRAPPER_H
#include "../XmppAccount.h"
#include "../xmpp/XmppAccount.h"
namespace Tomahawk
{

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -18,6 +18,5 @@ tomahawk_add_plugin(xmpp
LINK_LIBRARIES
${TOMAHAWK_LIBRARIES}
${JREEN_LIBRARIES}
SHARED_LIB
)
add_subdirectory(googlewrapper)

View File

@ -135,6 +135,4 @@ XmppAccount::sipPlugin()
}
#ifndef GOOGLE_WRAPPER
Q_EXPORT_PLUGIN2( Tomahawk::Accounts::AccountFactory, Tomahawk::Accounts::XmppAccountFactory )
#endif

View File

@ -25,6 +25,7 @@
#include "sip/XmppSip.h"
#include "accounts/AccountDllMacro.h"
#include "accounts/Account.h"
#include "accounts/AccountConfigWidget.h"
#define MYNAME "ACCOUNTJABBER"

View File

@ -1,21 +0,0 @@
include_directories( ${JREEN_INCLUDE_DIR} )
tomahawk_add_plugin(google
TYPE account
EXPORT_MACRO ACCOUNTDLLEXPORT_PRO
SOURCES
../XmppAccount.cpp
../XmppConfigWidget.cpp
../sip/XmppSip.cpp
../sip/TomahawkXmppMessage.cpp
../sip/TomahawkXmppMessageFactory.cpp
../sip/AvatarManager.cpp
../sip/XmlConsole.cpp
../XmppInfoPlugin.cpp
GoogleWrapper.cpp
LINK_LIBRARIES
${TOMAHAWK_LIBRARIES}
${JREEN_LIBRARIES}
COMPILE_DEFINITIONS
GOOGLE_WRAPPER
)