mmappfw_plat/harvester_collection_mediator_api/inc/mpxmediatorobserver.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  Mediator observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMPXMEDIATOROBSERVER_H
       
    20 #define MMPXMEDIATOROBSERVER_H
       
    21 
       
    22 class CMPXMedia;
       
    23 
       
    24 /**
       
    25  *  Mediator observer to notify of any change in collection id for a file.
       
    26  *
       
    27  *  @lib mpxcollectionmediator.dll
       
    28  */
       
    29 class MMPXMediatorObserver
       
    30     {
       
    31 
       
    32 public:
       
    33 
       
    34     /**
       
    35     * Handles a change in the collection ID and 
       
    36     * updates the db based on mediator decisions.
       
    37 	 *  @since S60 v3.2.3
       
    38     * @param aMedia Media Property of the item updated.
       
    39     * @param aOldPath Old collection id
       
    40     */
       
    41     virtual void HandleMediatorPathUpdatedL( CMPXMedia*& aMedia,
       
    42                                              TUid  aOldPath ) = 0;
       
    43     
       
    44     };
       
    45 
       
    46 #endif // MMPXMEDIATOROBSERVER_H