equal
deleted
inserted
replaced
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 CRADIORDSRECEIVER_H |
|
19 #define CRADIORDSRECEIVER_H |
|
20 |
|
21 // User includes |
|
22 #include "cradiordsreceiverbase.h" |
|
23 |
|
24 // Forward declarations |
|
25 class MRadioEngineSettings; |
|
26 |
|
27 // Class declaration |
|
28 NONSHARABLE_CLASS( CRadioRdsReceiver ) : public CRadioRdsReceiverBase |
|
29 { |
|
30 public: |
|
31 |
|
32 static CRadioRdsReceiver* NewL( MRadioEngineSettings& aSettings ); |
|
33 |
|
34 virtual ~CRadioRdsReceiver(); |
|
35 |
|
36 private: |
|
37 |
|
38 CRadioRdsReceiver( MRadioEngineSettings& aSettings ); |
|
39 |
|
40 void ConstructL(); |
|
41 |
|
42 // from base class MRadioRdsReceiver |
|
43 |
|
44 void InitL( CRadioUtility& aRadioUtility ); |
|
45 void SetAutomaticSwitchingL( TBool aEnable ); |
|
46 void StartReceiver(); |
|
47 void StopReceiver(); |
|
48 |
|
49 // New functions |
|
50 |
|
51 /** |
|
52 * Logs the RDS receiver capabilities if logging is enabled |
|
53 */ |
|
54 void LogReceiverCapabilities(); |
|
55 |
|
56 private: // data |
|
57 |
|
58 /** The RDS utility */ |
|
59 CRadioRdsUtility* iRdsUtility; |
|
60 |
|
61 /** State of the RDS receiver */ |
|
62 TBool iStarted; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // CRADIORDSRECEIVER_H |
|