diff -r 612c4815aebe -r 4cc1412daed0 app/tsrc/unittest_mpglobalpopuphandler/stub/inc/mpsongscanner.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/tsrc/unittest_mpglobalpopuphandler/stub/inc/mpsongscanner.h Fri Aug 06 16:51:36 2010 -0500 @@ -0,0 +1,54 @@ +/* +* 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: stub for song scanner. +* +*/ + + +#ifndef MPSONGSCANNER_H +#define MPSONGSCANNER_H + +class MpMpxHarvesterFrameworkWrapper; + +#include + +class MpSongScanner : public QObject +{ + Q_OBJECT + +public: + enum ScanError{ + ScanErrorNone, + ScanGeneralError, + ScanErrorDiskFull, + ScanInterrupted + }; + + MpSongScanner(); + virtual ~MpSongScanner(); + + void scan( bool automaticScan ); + bool isAutomaticScan(); + +signals: + void scanStarted(); + void scanCountChanged( int count ); + void scanFinished( int error, int itemsAdded ); + +public: + bool mAutomaticScan; +}; + +#endif // MPSONGSCANNER_H +