diff -r d1daf54a55b5 -r 1957042d8c7e filesystemuis/memscaneng/serverinc/msenginfoarray.inl --- a/filesystemuis/memscaneng/serverinc/msenginfoarray.inl Tue Feb 02 00:03:31 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -/* -* Copyright (c) 2002 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: Inline definition for CMsengInfoArray -* -* -*/ - - -inline CArrayFix* CMsengInfoArray::UidResults() const - { - return iUidResultArray; - } - -inline CArrayFix* CMsengInfoArray::ExtResults() const - { - return iExtResultArray; - } - -inline CArrayFix* CMsengInfoArray::GroupResults() const - { - return iGroupResultArray; - } - -inline const CArrayFix& CMsengInfoArray::Uids() const - { - return *iUidArray; - } - -inline const CDesCArray& CMsengInfoArray::Exts() const - { - return *iExtArray; - } - -inline const CDesCArray& CMsengInfoArray::Dirs() const - { - return *iDirArray; - } - -inline const CDesCArray& CMsengInfoArray::DataDirs() const - { - return *iDataDirArray; - } - -inline const CArrayFix& CMsengInfoArray::DataDirGroups() const - { - return *iDataDirGroupArray; - } - -inline const CArrayPtrFlat& CMsengInfoArray::DataDirExcludedFiles() const - { - return *iDataDirExclArray; - } - -inline const TDriveNumber CMsengInfoArray::CurrentDrive() const - { - return iCurrentScannedDrive; - } - -inline void CMsengInfoArray::AddSizeByUidL(TInt aUid, TInt aSize) - { - // The array must have been initialized to contain zeros! - (*iUidResultArray)[aUid] += aSize; - } - -inline void CMsengInfoArray::AddSizeByExtL(TInt aExt, TInt aSize) - { - // The array must have been initialized to contain zeros! - (*iExtResultArray)[aExt] += aSize; - } - -inline void CMsengInfoArray::AddSizeByGroupL(TInt aGroupIndex, TInt aSize) - { - // The array must have been initialized to contain zeros! - (*iGroupResultArray)[aGroupIndex] += aSize; - } - -// End of File