|
1 /* |
|
2 * Copyright (c) 2007 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: Contains the const between mpxmusicplayer and musicshop |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CMPXFINDINMUSICSHOPCOMMON_H |
|
20 #define CMPXFINDINMUSICSHOPCOMMON_H |
|
21 |
|
22 |
|
23 // CONST DECLARATION |
|
24 |
|
25 // P/S Keys for find in music shop |
|
26 const TUint KMShopCategoryId = 0; |
|
27 const TUint KMShopCategoryName = 1; |
|
28 |
|
29 // Indicate that P/S key KMShopCategoryId |
|
30 // is not valid for Find In Music Shop. |
|
31 const TUint KFindInMShopKeyInValid = 0x0; |
|
32 // P/S key KMShopCategoryId |
|
33 // is valid for Find In Music Shop. |
|
34 const TUint KFindInMShopKeyValid = 0xF; |
|
35 |
|
36 // The following constants need to match with the RProperty::Define for |
|
37 // RProperty::EText which has maximum size of 512 bytes in the Collection |
|
38 // View. |
|
39 |
|
40 // The final search string URL with Title, Artist, and Album has this |
|
41 // max size. Increase this size when RProperty::ELargeText is used |
|
42 const TInt KSearchUrlMaxSize = 512; |
|
43 |
|
44 // Max size from P/S stored search string created from Collection View. |
|
45 const TInt KCategoryValueMaxSize = 512; |
|
46 |
|
47 #endif // CMPXFINDINMUSICSHOPCOMMON_H |
|
48 |
|
49 // End of File |