24
|
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 RADIOSTATIONIF_H_
|
|
19 |
#define RADIOSTATIONIF_H_
|
|
20 |
|
|
21 |
// System includes
|
|
22 |
#include <QtGlobal>
|
|
23 |
|
|
24 |
class RadioStationIf
|
|
25 |
{
|
|
26 |
public:
|
|
27 |
|
|
28 |
virtual int presetIndex() const = 0;
|
|
29 |
virtual void setPresetIndex( int presetIndex ) = 0;
|
|
30 |
|
|
31 |
virtual uint frequency() const = 0;
|
|
32 |
virtual void setFrequency( uint frequency ) = 0;
|
|
33 |
|
|
34 |
virtual QString name() const = 0;
|
|
35 |
virtual void setName( QString name ) = 0;
|
|
36 |
|
|
37 |
virtual bool isRenamedByUser() const = 0;
|
|
38 |
virtual void setRenamedByUser( bool renamed ) = 0;
|
|
39 |
|
|
40 |
virtual int genre() const = 0;
|
|
41 |
virtual void setGenre( int genre ) = 0;
|
|
42 |
|
|
43 |
virtual QString url() const = 0;
|
|
44 |
virtual void setUrl( QString url ) = 0;
|
|
45 |
|
|
46 |
virtual int piCode() const = 0;
|
|
47 |
virtual void setPiCode( int piCode ) = 0;
|
|
48 |
|
|
49 |
virtual bool isFavorite() const = 0;
|
|
50 |
virtual void setFavorite( bool favorite ) = 0;
|
|
51 |
|
|
52 |
virtual bool isLocalStation() const = 0;
|
|
53 |
virtual void setLocalStation( bool localStation ) = 0;
|
|
54 |
|
36
|
55 |
virtual bool hasStationSentRds() const = 0;
|
|
56 |
virtual void setStationHasSentRds( bool hasSentRds ) = 0;
|
|
57 |
|
24
|
58 |
};
|
|
59 |
|
|
60 |
|
|
61 |
#endif // RADIOSTATIONIF_H_
|