diff -r d1daf54a55b5 -r 1957042d8c7e filesystemuis/memscaneng/serversrc/msengfilescanner.cpp --- a/filesystemuis/memscaneng/serversrc/msengfilescanner.cpp Tue Feb 02 00:03:31 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -/* -* Copyright (c) 2006 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: -* Scanner class used to scan file system by file UID. -* -*/ - - -// USER INCLUDES -#include "msengfilescanner.h" - - - -// ================= MEMBER FUNCTIONS ======================================== - -// --------------------------------------------------------------------------- -// CMsengFileScanner::CMsengFileScanner() -// -// Constructor -// --------------------------------------------------------------------------- -CMsengFileScanner::CMsengFileScanner(MMsengScannerObserver& aObserver, - CMsengInfoArray& aScanArray, - RFs& aFsSession) -: CMsengDirectoryScanner(aObserver, aScanArray, aFsSession) - { - } - -// --------------------------------------------------------------------------- -// CMsengFileScanner::~CMsengFileScanner() -// -// Destructor -// --------------------------------------------------------------------------- - -CMsengFileScanner::~CMsengFileScanner() - { - } - -// --------------------------------------------------------------------------- -// CMsengFileScanner::ScanDirectoryL() -// -// -// --------------------------------------------------------------------------- -CMsengDirectoryScanner::TScanDirectoryResult CMsengFileScanner::ScanDirectoryL - (const TDesC& aDirectory, RFs& /*aFsSession*/) - { - TBool moveToNextDirectory = ETrue; - CDir* results = FindFilesL(aDirectory, moveToNextDirectory); - if (results) - { - CleanupStack::PushL(results); - - // Go through all files in the list and tell subclass - TFileName file; - const TInt count = results->Count(); - for(TInt i=0; i