1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-04 21:27:58 +02:00

Move ScanManager into libtomahawk. It's core functionality, non-GUI, and

this lets things in libtomahawk call scan functions easily
This commit is contained in:
Jeff Mitchell
2012-06-26 08:09:06 -04:00
parent 7efaa62038
commit cede202e96
9 changed files with 7 additions and 8 deletions

View File

@@ -37,9 +37,7 @@ ENDIF()
SET( tomahawkSources ${tomahawkSources} SET( tomahawkSources ${tomahawkSources}
web/Api_v1.cpp web/Api_v1.cpp
MusicScanner.cpp
ShortcutHandler.cpp ShortcutHandler.cpp
ScanManager.cpp
UbuntuUnityHack.cpp UbuntuUnityHack.cpp
TomahawkApp.cpp TomahawkApp.cpp
main.cpp main.cpp

View File

@@ -34,13 +34,11 @@
#include "TomahawkApp.h" #include "TomahawkApp.h"
#include "TomahawkSettings.h" #include "TomahawkSettings.h"
#include "accounts/DelegateConfigWrapper.h" #include "accounts/DelegateConfigWrapper.h"
#include "MusicScanner.h"
#include "Pipeline.h" #include "Pipeline.h"
#include "Resolver.h" #include "Resolver.h"
#include "ExternalResolverGui.h" #include "ExternalResolverGui.h"
#include "utils/TomahawkUtilsGui.h" #include "utils/TomahawkUtilsGui.h"
#include "utils/GuiHelpers.h" #include "utils/GuiHelpers.h"
#include "ScanManager.h"
#include "SettingsListDelegate.h" #include "SettingsListDelegate.h"
#include "accounts/AccountDelegate.h" #include "accounts/AccountDelegate.h"
#include "database/Database.h" #include "database/Database.h"

View File

@@ -50,11 +50,10 @@
#include "web/Api_v1.h" #include "web/Api_v1.h"
#include "SourceList.h" #include "SourceList.h"
#include "ShortcutHandler.h" #include "ShortcutHandler.h"
#include "ScanManager.h" #include "libtomahawk/filemetadata/ScanManager.h"
#include "TomahawkSettings.h" #include "TomahawkSettings.h"
#include "GlobalActionManager.h" #include "GlobalActionManager.h"
#include "database/LocalCollection.h" #include "database/LocalCollection.h"
#include "MusicScanner.h"
#include "Pipeline.h" #include "Pipeline.h"
#include "DropJob.h" #include "DropJob.h"
#include "EchonestCatalogSynchronizer.h" #include "EchonestCatalogSynchronizer.h"

View File

@@ -67,7 +67,7 @@
#include "TomahawkSettings.h" #include "TomahawkSettings.h"
#include "SourceList.h" #include "SourceList.h"
#include "TomahawkTrayIcon.h" #include "TomahawkTrayIcon.h"
#include "ScanManager.h" #include "libtomahawk/filemetadata/ScanManager.h"
#include "TomahawkApp.h" #include "TomahawkApp.h"
#include "LoadXSPFDialog.h" #include "LoadXSPFDialog.h"

View File

@@ -261,6 +261,9 @@ set( libSources
infosystem/InfoSystemCache.cpp infosystem/InfoSystemCache.cpp
infosystem/InfoSystemWorker.cpp infosystem/InfoSystemWorker.cpp
filemetadata/MusicScanner.cpp
filemetadata/ScanManager.cpp
network/BufferIoDevice.cpp network/BufferIoDevice.cpp
network/MsgProcessor.cpp network/MsgProcessor.cpp
network/StreamConnection.cpp network/StreamConnection.cpp

View File

@@ -21,6 +21,7 @@
#define SCANMANAGER_H #define SCANMANAGER_H
#include "Typedefs.h" #include "Typedefs.h"
#include "DllMacro.h"
#include <QtCore/QHash> #include <QtCore/QHash>
#include <QtCore/QMap> #include <QtCore/QMap>
@@ -34,7 +35,7 @@ class QThread;
class QFileSystemWatcher; class QFileSystemWatcher;
class QTimer; class QTimer;
class ScanManager : public QObject class DLLEXPORT ScanManager : public QObject
{ {
Q_OBJECT Q_OBJECT