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 RADIOSERVICES_H |
|
19 #define RADIOSERVICES_H |
|
20 |
|
21 static QString RADIO_CONTROL_SERVICE = "com.nokia.services.Radio.IRadioControl"; |
|
22 static QString RADIO_MONITOR_SERVICE = "com.nokia.services.Radio.IRadioMonitor"; |
|
23 |
|
24 const long KRadioPSUid = 0x101FF976; |
|
25 const unsigned long KRadioStartupKey = 0x00000014; |
|
26 |
|
27 namespace RadioServiceCommand |
|
28 { |
|
29 enum CommandId |
|
30 { |
|
31 Play, |
|
32 Pause, |
|
33 Previous, |
|
34 Next, |
|
35 SeekUp, |
|
36 SeekDown, |
|
37 Foreground, |
|
38 Background |
|
39 }; |
|
40 } |
|
41 |
|
42 namespace RadioServiceNotification |
|
43 { |
|
44 enum Type { |
|
45 FavoriteCount = 1, |
|
46 RadioStatus, |
|
47 Frequency, |
|
48 Name, |
|
49 Genre, |
|
50 RadioText, |
|
51 HomePage, |
|
52 Song |
|
53 }; |
|
54 } |
|
55 |
|
56 namespace RadioStatus |
|
57 { |
|
58 enum Status { |
|
59 UnSpecified, |
|
60 Playing, |
|
61 Muted, |
|
62 Seeking, |
|
63 NoAntenna |
|
64 }; |
|
65 } |
|
66 |
|
67 #endif // RADIOSERVICES_H |
|