qtinternetradio/ui/inc/irstationshare.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 13:30:40 +0300
changeset 8 3b03c28289e6
parent 3 ee64f059b8e1
permissions -rw-r--r--
Revision: 201021 Kit: 2010123

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef IRSTATIONSHARE_H_
#define IRSTATIONSHARE_H_

#include <QString>
#include <QList>

class ShareUi;
class IRQPreset;

class IRStationShare
{
public:
    IRStationShare();
    ~IRStationShare();
    
public:
    /*!
     * @return bool  ture if launch successfully, otherwise return false
     */                              
    bool shareStations(const QList<IRQPreset*> &aPresetList);
    bool shareStations(const IRQPreset &aPreset);

private:
    bool constructPlsFile(const QList<IRQPreset*> &aPresetList);
    bool constructPlsFile(const IRQPreset &aPreset);
        
private:
    QString  iPlsFilePath;    
    ShareUi *iShareDialog;
};

#endif // IRSTATIONSHARE_H_