searcher/searchclient/inc/mcpixindexerobserver.h
changeset 0 671dee74050a
equal deleted inserted replaced
-1:000000000000 0:671dee74050a
       
     1 /*
       
     2 * Copyright (c) 2010 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 *
       
    16 */
       
    17 
       
    18 #ifndef __MCPIXINDEXEROBSERVER_H__
       
    19 #define __MCPIXINDEXEROBSERVER_H__
       
    20 
       
    21 /**
       
    22  * @file
       
    23  * @ingroup ClientAPI
       
    24  * @brief Contains MCPixIndexerObserver
       
    25  */
       
    26 
       
    27 #include "MCPixDatabaseObserver.h"
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  * @brief Observes completions of CPixIndexer's asynchronous requests 
       
    33  * @ingroup ClientAPI
       
    34  * 
       
    35  * Mixin class.
       
    36  * Observer to handle indexing operations completion codes.
       
    37  *  
       
    38  * Link against: CPixSearchClient.lib 
       
    39  */
       
    40 class MCPixIndexingRequestObserver
       
    41     {
       
    42     public:
       
    43    	
       
    44         /**
       
    45         * HandleIndexingResultL.
       
    46         * Returns completion code for indexing operation.
       
    47         * @param aError Coompletion code of a asynchronous request. KErrNone if operation
       
    48         * was succesful, otherwise system wide error code.
       
    49         */
       
    50         virtual void HandleIndexingResultL( TInt aError ) = 0;
       
    51     }; 
       
    52 
       
    53 #endif // __MCPIXINDEXEROBSERVER_H__
       
    54 
       
    55 // End of File