diff -r 2e1adbfc62af -r ee64f059b8e1 qtinternetradio/ui/inc/irstationshare.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qtinternetradio/ui/inc/irstationshare.h Fri May 14 15:43:29 2010 +0300 @@ -0,0 +1,47 @@ +/* +* 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 +#include + +class IRQPreset; + +class IRStationShare +{ +public: + IRStationShare(); + ~IRStationShare(); + +public: + /*! + * @return bool ture if launch successfully, otherwise return false + */ + bool shareStations(const QList &aPresetList); + bool shareStations(const IRQPreset &aPreset); + +private: + bool constructPlsFile(const QList &aPresetList); + bool constructPlsFile(const IRQPreset &aPreset); + +private: + QString iPlsFilePath; +}; + +#endif // IRSTATIONSHARE_H_