filesystemuis/memscaneng/serverinc/msengscanobserver.h
branchRCL_3
changeset 20 491b3ed49290
parent 19 95243422089a
child 21 65326cf895ed
equal deleted inserted replaced
19:95243422089a 20:491b3ed49290
     1 /*
       
     2 * Copyright (c) 2002 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 *     An interface class used by the scanning thread to send
       
    16 *     events to the CMsengScanner instance that created the thread.
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef MSENGSCANOBSERVER_H
       
    22 #define MSENGSCANOBSERVER_H
       
    23 
       
    24 // CLASS REFERENCED
       
    25 class CMsengScannerBase;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 *
       
    31 */
       
    32 class MMsengScannerObserver
       
    33     {
       
    34     public:
       
    35 
       
    36         /**
       
    37         *
       
    38         */
       
    39         enum TScannerEvent
       
    40             {
       
    41             EScannerEventScanComplete = 0,
       
    42             EScannerEventScanError
       
    43             };
       
    44 
       
    45     public:
       
    46 		
       
    47         /**
       
    48         *
       
    49         */
       
    50         virtual void HandleScannerEventL(
       
    51             TScannerEvent aEvent, const CMsengScannerBase& aScanner, TInt aRrror=KErrNone) = 0;
       
    52     };
       
    53 
       
    54 #endif      // MSENGSCANOBSERVER_H
       
    55             
       
    56 // End of File