ncdengine/inc/ncdproviderobserver.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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 *
       
    16 */
       
    17 	
       
    18 
       
    19 #ifndef M_NCDPROVIDEROBSERVER_H
       
    20 #define M_NCDPROVIDEROBSERVER_H
       
    21 
       
    22 #include <e32cmn.h>
       
    23 #include "catalogsarray.h"
       
    24 
       
    25 class MNcdNode;
       
    26 
       
    27 /**
       
    28  * Observer interface for provider generic events
       
    29  *
       
    30  * Provider users should implement this interface to be able to receive
       
    31  * notifications from the root node provider
       
    32  */
       
    33 class MNcdProviderObserver
       
    34     {
       
    35     
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Called when information of expired nodes has been received. Users must
       
    40      * re-load these nodes to get updated data.
       
    41      *
       
    42      * @param aExpiredNodes A list of expired nodes in need of re-loading.
       
    43      */
       
    44     virtual void ForceExpirationInformationReceived(
       
    45         RCatalogsArray< MNcdNode >& aExpiredNodes ) = 0;
       
    46     };
       
    47     
       
    48 #endif //  M_NCDPROVIDEROBSERVER_H