1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 /** |
|
18 @file |
|
19 @internalComponent |
|
20 */ |
|
21 |
|
22 #ifndef MTPPLAYBACKCONTROLCONST_H_ |
|
23 #define MTPPLAYBACKCONTROLCONST_H_ |
|
24 |
|
25 #include <mpxplaybackutility.h> |
|
26 |
|
27 /** |
|
28 Used by test db existed |
|
29 */ |
|
30 const TInt KMTPPlaybackInvalidSongID = 0x1FFFFFFF; |
|
31 const TInt KStorageRootMaxLength = 10; |
|
32 |
|
33 /** |
|
34 The volume step of mtp playback |
|
35 */ |
|
36 const TUint32 KMTPPlaybackVolumeStep = 1; |
|
37 |
|
38 /** |
|
39 The playlist or album level of collection path |
|
40 */ |
|
41 const TInt KMTPPlaybackPlaylistAblumLevel = 2; |
|
42 |
|
43 /** |
|
44 The album id of collection path |
|
45 */ |
|
46 const TInt KMPXCollectionArtistAlbum = 3; |
|
47 |
|
48 /** |
|
49 iMPXCommand is the mpx command |
|
50 iMPXExpectState is the expected state |
|
51 */ |
|
52 struct TMPXComandElement |
|
53 { |
|
54 TMPXPlaybackCommand iMPXCommand; |
|
55 TMPXPlaybackState iMPXExpectState; |
|
56 }; |
|
57 |
|
58 typedef RArray<TMPXComandElement> RResumeCmdArray; |
|
59 |
|
60 /** |
|
61 The uid of playback control dp |
|
62 */ |
|
63 const TUid KMTPPlaybackControlDpUid = { 0x2002EA9A }; |
|
64 |
|
65 #endif /* MTPPLAYBACKCONTROLCONST_H_ */ |
|