radioapp/radiopresetstorage/inc/radiostationif.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:31:41 +0300
changeset 16 f54ebcfc1b80
parent 14 63aabac4416d
child 37 451b2e1545b2
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* 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 RADIOSTATIONIF_H_
#define RADIOSTATIONIF_H_

// System includes
#include <QtGlobal>

class RadioStationIf
{
public:

    virtual int presetIndex() const = 0;
    virtual void setPresetIndex( int presetIndex ) = 0;

    virtual uint frequency() const = 0;
    virtual void setFrequency( uint frequency ) = 0;

    virtual QString name() const = 0;
    virtual void setName( QString name ) = 0;

    virtual bool isRenamedByUser() const = 0;
    virtual void setRenamedByUser( bool renamed ) = 0;

    virtual int genre() const = 0;
    virtual void setGenre( int genre ) = 0;

    virtual QString url() const = 0;
    virtual void setUrl( QString url ) = 0;

    virtual int piCode() const = 0;
    virtual void setPiCode( int piCode ) = 0;

    virtual bool isFavorite() const = 0;
    virtual void setFavorite( bool favorite ) = 0;

    virtual bool isLocalStation() const = 0;
    virtual void setLocalStation( bool localStation ) = 0;

};


#endif // RADIOSTATIONIF_H_