mmappfw_plat/mpx_collection_utility_api/inc/mpxcollectionplaylistobserver.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:  Collection playlist observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMPXCOLLECTIONPLAYLISTOBSERVER_H
       
    20 #define MMPXCOLLECTIONPLAYLISTOBSERVER_H
       
    21 
       
    22 
       
    23 /**
       
    24  *  Interface for colleciton playlist changes
       
    25  *
       
    26  *  @lib mpxcollectionutility.lib
       
    27  */
       
    28 NONSHARABLE_CLASS(MMPXCollectionPlaylistObserver)
       
    29     {
       
    30 public:
       
    31     /**
       
    32      *  Handle collection playlist change.
       
    33      *
       
    34      *  @since S60 3.2.3
       
    35      *  @param aError KErrNotFound - Playlist is updated, current item removed
       
    36      *                KErrNone - Playlist is updated, current item is valid
       
    37      *                KErrEof - Playlist is updated, current item removed and 
       
    38      *                          reached to the end of playlist
       
    39      */
       
    40     virtual void HandleCollectionPlaylistChange(TInt aError) = 0;
       
    41     
       
    42     };    
       
    43     
       
    44 #endif // MMPXCOLLECTIONPLAYLISTOBSERVER_H