diff -r d1daf54a55b5 -r 1957042d8c7e filesystemuis/memstatepopup/inc/cmemscaneventreceiver.h --- a/filesystemuis/memstatepopup/inc/cmemscaneventreceiver.h Tue Feb 02 00:03:31 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +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: -* Memory Scan Event Receiver -* -* -*/ - -#ifndef CMEMSCANEVENTRECEIVER_H -#define CMEMSCANEVENTRECEIVER_H - -// SYSTEM INCLUDES -#include -#include -#include - - -class MMsengUIHandler; - - -NONSHARABLE_CLASS(CMemScanEventReceiver) : public CActive - { - public: - static CMemScanEventReceiver* NewL( MMsengUIHandler& aUIHandler ); - ~CMemScanEventReceiver(); - - private: - CMemScanEventReceiver( MMsengUIHandler& aUIHandler ); - void ConstructL(); - - public: // API - CDesCArray* DataGroupsL() const; - CArrayFix* ScanResultL() const; - TBool ScanInProgress() const; - TInt ScanL(TDriveNumber aDrive); - - private: // From CActive - void RunL(); - void DoCancel(); - TInt RunError( TInt aError ); - - private: // Internal functions - void RegisterForScanEvents(); - - private: // Data members - MMsengUIHandler& iUIHandler; - RMemScanClient iScanClient; - TInt iEventError; - }; - - -#endif // CMEMSCANEVENTRECEIVER_H \ No newline at end of file