menufw/hierarchynavigator/hnengine/inc/hndatachangeobserver.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-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:  
       
    15 *
       
    16 */
       
    17  
       
    18 
       
    19 #ifndef C_HNDATACHANGEOBSERVER_H
       
    20 #define C_HNDATACHANGEOBSERVER_H
       
    21 
       
    22 class CHnItemId;
       
    23 
       
    24 /**
       
    25  * @ingroup group_hnengine
       
    26  * Data change observer interface. It is used to notify the implementing class that something in the database has been changed.
       
    27  *
       
    28  * @lib hnengine
       
    29  * @since S60 v5.0 
       
    30  */
       
    31 NONSHARABLE_CLASS(CHnDataChangeObserver) : public CBase
       
    32     {    
       
    33     public:
       
    34 
       
    35     /**
       
    36      * DataChangeL is called when sth in database was changed.
       
    37      * @since S60 v5.0
       
    38      * @param aItemIds Array with ItemIds of changed entries.
       
    39      */
       
    40     virtual void DataChangedL( RPointerArray< CHnItemId >& aItemIds ) = 0;
       
    41     };
       
    42 
       
    43 
       
    44 #endif // C_HNDATACHANGEOBSERVER_H