|
1 /* |
|
2 * Copyright (c) 2006-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: ECOM plugin interface for find in music shop |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef MPX_FIND_IN_MUSICSHOP_H |
|
21 #define MPX_FIND_IN_MUSICSHOP_H |
|
22 |
|
23 // CONSTANTS |
|
24 const TUid KSchemeHandlerDefinitionUid = { 0x101FFB53 }; |
|
25 |
|
26 /** |
|
27 * Find in Music Shop ECOM plugin class |
|
28 */ |
|
29 class CMPXFindInMShop : public CBase |
|
30 { |
|
31 public: // Constructors and destructor |
|
32 |
|
33 /** |
|
34 * Two-phased constructor. |
|
35 */ |
|
36 inline static CMPXFindInMShop* NewL(); |
|
37 |
|
38 /** |
|
39 * Destructor. |
|
40 */ |
|
41 inline virtual ~CMPXFindInMShop(); |
|
42 |
|
43 public: // New functions |
|
44 |
|
45 /** |
|
46 * Create Search String |
|
47 * |
|
48 * @since S60 3.2.3 |
|
49 * @param song name, artist name, album name, composer name and genre |
|
50 * @return HBufC* for the constructed string, and ownership of return object is transferred |
|
51 */ |
|
52 virtual HBufC* CreateSearchURLL( const TDesC& aSongName, |
|
53 const TDesC& aArtistName, |
|
54 const TDesC& aAlbumName, |
|
55 const TDesC& aComposer, |
|
56 const TDesC& aGenre ) = 0; |
|
57 private: // Data |
|
58 |
|
59 TUid iDtorKey; // Destructor key for ECOM |
|
60 |
|
61 }; |
|
62 |
|
63 #include <mpxfindinmusicshop.inl> |
|
64 |
|
65 #endif // MPX_FIND_IN_MUSICSHOP_H |
|
66 |
|
67 // End of File |