qtinternetradio/ui/inc/irlogoprovider.h
changeset 17 38bbf2dcd608
equal deleted inserted replaced
16:5723da102db1 17:38bbf2dcd608
       
     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 #ifndef IRLOGOPROVIDER_H_
       
    19 #define IRLOGOPROVIDER_H_
       
    20 
       
    21 #include <QObject>
       
    22 
       
    23 class IRQIsdsClient;
       
    24 class IRQPreset;
       
    25 
       
    26 class IRLogoProvider : public QObject
       
    27 {
       
    28     Q_OBJECT
       
    29 public:
       
    30     explicit IRLogoProvider(IRQIsdsClient *aIsdsClient);
       
    31     ~IRLogoProvider();
       
    32     
       
    33     void getLogo(IRQPreset *aPreset);
       
    34     
       
    35     void activate(const QObject *aReceiver, const char *aFunc);
       
    36     void deactivate();
       
    37     
       
    38 signals:
       
    39     void logoData(const QByteArray &aLogoData);
       
    40     
       
    41 private slots:
       
    42     void presetLogoDownload(IRQPreset* aPreset);
       
    43     void presetLogoDownloadError(); 
       
    44     
       
    45 private:
       
    46     IRQIsdsClient *iIsdsClient;
       
    47 };
       
    48 
       
    49 #endif /* IRLOGOPROVIDER_H_ */