|
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: This file contains definitions for |
|
15 * FM Radio command line parameters |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef FMRADIOCOMMANDLINEPARAMS_H |
|
21 #define FMRADIOCOMMANDLINEPARAMS_H |
|
22 |
|
23 #include <e32std.h> |
|
24 |
|
25 /** |
|
26 * The needed ID's are defined in fmradiouids.h |
|
27 * Only one of the following commands can be currently given at a time |
|
28 */ |
|
29 |
|
30 /** |
|
31 * FM Radio application UID |
|
32 */ |
|
33 const TUid KFMRadioCommandUid = {0x10207A89}; |
|
34 |
|
35 /** |
|
36 * Starts FM Radio to specified view or activates it if some other view is already active |
|
37 * Supports only Main view and Channel List View |
|
38 * Example: "-v 1", use the ID's defined in fmradiouids.h |
|
39 */ |
|
40 _LIT8( KFMRadioCommandActivateView, "-v" ); |
|
41 |
|
42 /** |
|
43 * Starts FM Radio to specified frequency or just tunes if application is already running. |
|
44 * No effect if the frequency is outside current frequency range. Example: "-f 87500000" |
|
45 * @param frequency The frequency to be activated in hertz |
|
46 */ |
|
47 _LIT8( KFMRadioCommandFrequency, "-f" ); |
|
48 |
|
49 /** |
|
50 * Starts FM Radio to specified station index or just tunes if application is already running. |
|
51 * No effect if the index is out of boundaries. Example: "-i 0" |
|
52 * @param index The index to be activated |
|
53 */ |
|
54 _LIT8( KFMRadioCommandStationIndex, "-i" ); |
|
55 |
|
56 #endif // FMRADIOCOMMANDLINEPARAMS_H |
|
57 |
|
58 // End of file |