internetradio2.0/irdataprovider/inc/mlogodownloadobserver.h
changeset 14 896e9dbc5f19
equal deleted inserted replaced
12:608f67c22514 14:896e9dbc5f19
       
     1 /*
       
     2 * Copyright (c) 2009 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 MLOGODOWNLOADOBSERVER_H
       
    20 #define MLOGODOWNLOADOBSERVER_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 #include "irisdspreset.h"
       
    25 
       
    26 class CIRIsdsPreset;
       
    27 
       
    28 /**
       
    29  * MLogoDownloadObserver
       
    30  * passes id of a preset which has downloaded the logo.
       
    31  * An instance of this class must be provided while calling 
       
    32  * the API SendRequestL() of CIRLogoDownloadEngine.  
       
    33  * The call of the API SendRequestL() is from NowPlayingView.
       
    34  */
       
    35 class MLogoDownloadObserver
       
    36     {
       
    37 public:
       
    38     
       
    39     /**
       
    40      * MLogoDownloadObserver::PresetLogoDownloadedL()
       
    41      * called back when a preset's logo has downloaded
       
    42      * @param CIRIsdsPreset*, preset with downloaded logo
       
    43      */
       
    44     virtual void PresetLogoDownloadedL( CIRIsdsPreset* aPreset )=0;
       
    45 
       
    46     /**
       
    47      * MLogoDownloadObserver::PresetLogoDownloadError()
       
    48      * called back when a preset's logo has not downloaded
       
    49      * @param CIRIsdsPreset*, preset with no logo data
       
    50      */
       
    51     virtual void PresetLogoDownloadError( CIRIsdsPreset* aPreset )=0;
       
    52     };
       
    53 
       
    54 #endif // MLOGODOWNLOADOBSERVER_H