filesystemuis/memscaneng/serverinc/msenguihandler.h
changeset 0 6a9f87576119
equal deleted inserted replaced
-1:000000000000 0:6a9f87576119
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *     A pure virtual interface class used by the UI to handle events from  
       
    16 *     the Memory Scan Engine. 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef MMSENGUIHANDLER_H
       
    22 #define MMSENGUIHANDLER_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 #include <e32std.h>
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 class CMsengInfoArray;
       
    30 
       
    31 // CONSTANTS
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  An interface class used by the engine to send information to the calling class.
       
    37 */
       
    38 class MMsengUIHandler
       
    39     {
       
    40     public: // New functions
       
    41 
       
    42         /**
       
    43         * The engine tells that it has successfully initialized itself and 
       
    44         * started the scanning operation.
       
    45         */
       
    46         virtual void StartL()=0;
       
    47 
       
    48         /**
       
    49         * The last method called when the scanning is either finished or canceled.
       
    50         * @param aReason The quit reason, can be KErrNone or KErrCancel.
       
    51         */
       
    52         virtual void QuitL(TInt aReason)=0;
       
    53 
       
    54         /**
       
    55         * The engine notifies the calling class if some error has happened
       
    56         * @param aError Error code.
       
    57         */
       
    58         virtual void ErrorL(TInt aError)=0;
       
    59     };
       
    60 
       
    61 #endif      // MMSENGUIHANDLER_H   
       
    62             
       
    63 // End of File