--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mpengine/inc/mpsongscanner.h Fri Apr 16 14:56:30 2010 +0300
@@ -0,0 +1,58 @@
+/*
+* 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 MpMpxFrameworkWrapper;
+class HbProgressDialog;
+
+#include <QObject>
+#include "mpmpxcommondefs.h"
+
+class MpSongScanner : public QObject
+{
+ Q_OBJECT
+
+public:
+
+ explicit MpSongScanner( MpMpxFrameworkWrapper *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:
+
+ MpMpxFrameworkWrapper *mMpxWrapper; // Not own
+ HbProgressDialog *mScanProgressNote; // Own
+ TBool mScanning;
+
+};
+
+#endif // MPSONGSCANNER_H
+