mmappcomponents/harvester/filehandler/inc/mpxbrokenlinkcleanupobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Broken link cleanup observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_MMPXBROKENLINKOBSERVER_H
       
    20 #define M_MMPXBROKENLINKOBSERVER_H
       
    21 
       
    22 class CMPXHarvesterDB;
       
    23 
       
    24 /**
       
    25  *  Broken link observer
       
    26  *
       
    27  *  @lib mpxfilehandler.lib
       
    28  *  @since S60 v3.0
       
    29  */
       
    30 class MMPXBrokenLinkObserver
       
    31     {
       
    32 
       
    33 public:
       
    34 
       
    35     /**
       
    36     * Virtual function to call back and delete n elements from the aFileArray
       
    37     * @param aFileArray file array to find the list of files
       
    38     * @param aColdIds list of collection ids of each item
       
    39     * @param aDbs list of dbs assocaited with each item
       
    40     * @param aCount number of items to delete from array[0] to array[aCount-1]
       
    41     */
       
    42     virtual void HandleBrokenLinkL( MDesCArray& aFileArray,
       
    43                                     RArray<TInt>& aColIds,
       
    44                                     RPointerArray<CMPXHarvesterDB>& aDbs,
       
    45                                     TInt aCount ) = 0;
       
    46     
       
    47     };
       
    48 
       
    49 
       
    50 #endif // M_MMPXBROKENLINKOBSERVER_H