phoneengine/PhoneCntFinder/ContactService/inc/mphcntstoreloaderobserver.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Observer interface for contact data store loading process.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_MPHCNTSTORELOADEROBSERVER_H
       
    20 #define M_MPHCNTSTORELOADEROBSERVER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class MVPbkContactStore;
       
    25 
       
    26 /**
       
    27  * Observer interface for contact data store loading process.
       
    28  *
       
    29  * @lib phonecntfinder.lib
       
    30  * @since S60  v9.1
       
    31  */
       
    32 class MPhCntStoreLoaderObserver 
       
    33     {
       
    34 public:
       
    35     
       
    36     /**
       
    37      * Callback to indicate that contact data store loading process is
       
    38      * completed. 
       
    39      *
       
    40      * @param   aStore          The contact store which was loaded or NULL if
       
    41      *                          error occured. Ownership is not transferred. 
       
    42      * @param   aErrorCode      System wide error code if error occured.
       
    43      */
       
    44     virtual void ContactStoreLoadingCompleted( 
       
    45         MVPbkContactStore* aStore, TInt aErrorCode ) = 0;
       
    46     };
       
    47 
       
    48 #endif // M_MPHCNTSTORELOADEROBSERVER_H