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 MRADIOSCANOBSERVER_H_ |
|
19 #define MRADIOSCANOBSERVER_H_ |
|
20 |
|
21 /** |
|
22 * Interface for radio station scanning. |
|
23 * |
|
24 * Implementers of this interface are able to receive notifications |
|
25 * when scanning finds a valid frequency and upon its completion. |
|
26 */ |
|
27 NONSHARABLE_CLASS( MRadioScanObserver ) |
|
28 { |
|
29 |
|
30 public: |
|
31 |
|
32 /** |
|
33 * Invoked when a frequency has been found with scanning. |
|
34 * |
|
35 * @param aFrequency The frequency, in kilohertz, that was found. |
|
36 */ |
|
37 virtual void ScanFrequencyEventL( TUint32 aFrequency ) = 0; |
|
38 |
|
39 /** |
|
40 * Invoked when a scan has been completed. |
|
41 * |
|
42 * @param aError <code>KErrNone</code> when the scan was successfull, |
|
43 * or any of the standard error codes otherwise. |
|
44 */ |
|
45 virtual void ScanCompletedEventL( TInt aError ) = 0; |
|
46 |
|
47 }; |
|
48 |
|
49 #endif // MRADIOSCANOBSERVER_H_ |
|