qtinternetradio/ui/inc/irfileviewservice.h
changeset 11 f683e24efca3
equal deleted inserted replaced
8:3b03c28289e6 11:f683e24efca3
       
     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 IRFILEVIEWSERVICE_H_
       
    19 #define IRFILEVIEWSERVICE_H_
       
    20 
       
    21 #include <xqserviceprovider.h>
       
    22 
       
    23 class XQSharableFile;
       
    24 class IRPlayList;
       
    25 class IRApplication;
       
    26 
       
    27 class IRFileViewService : public XQServiceProvider
       
    28 {
       
    29     Q_OBJECT
       
    30     
       
    31 public:
       
    32     IRFileViewService(IRApplication *aApplication);
       
    33     ~IRFileViewService();
       
    34     IRPlayList* getPlayList() const;
       
    35     
       
    36 public slots:
       
    37     void view(const QString &aFileName);
       
    38     void view(const XQSharableFile &aSharableFile);
       
    39     
       
    40 private:
       
    41     IRApplication *iApplication;
       
    42     IRPlayList *iPlayList;
       
    43     
       
    44     Q_DISABLE_COPY(IRFileViewService)
       
    45 };
       
    46 
       
    47 #endif /* IRFILEVIEWSERVICE_H_ */