diff -r b95ddb5a0d10 -r eff9df3d9c98 mpengine/inc/mpsongscanner.h --- a/mpengine/inc/mpsongscanner.h Fri Jun 11 16:24:02 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Music Player song scanner. -* -*/ - - -#ifndef MPSONGSCANNER_H -#define MPSONGSCANNER_H - -class MpMpxHarvesterFrameworkWrapper; -class HbProgressDialog; - -#include -#include "mpmpxcommondefs.h" - -class MpSongScanner : public QObject -{ - Q_OBJECT - -public: - - explicit MpSongScanner( MpMpxHarvesterFrameworkWrapper *wrapper, QObject *parent=0 ); - virtual ~MpSongScanner(); - - void scan(); - bool isScanning(); - -public slots: - - void cancelScan(); - void handleScanStarted(); - void handleScanEnded( int numItemsAdded, int error ); - void handleScanCountChanged(int count); - void handleDiskEvent( MpxDiskEvents event ); - void handleProgressNoteClosing(); - -private: - - MpMpxHarvesterFrameworkWrapper *mMpxWrapper; // Not own - HbProgressDialog *mScanProgressNote; // Own - TBool mScanning; - -}; - -#endif // MPSONGSCANNER_H -