|
1 /* |
|
2 * Copyright (c) 2002 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: mmftsplay test component |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "UrlParameters.h" |
|
20 |
|
21 ////////////////////////////////////////////////////////////////////// |
|
22 // Construction/Destruction |
|
23 ////////////////////////////////////////////////////////////////////// |
|
24 |
|
25 /*void CUrlParameters::ConstructL(TDesC8 &aDes8) |
|
26 { |
|
27 iDes8 = aDes8; |
|
28 } |
|
29 */ |
|
30 |
|
31 /*CUrlParameters* CUrlParameters::NewLC(TInt aAction, TDesC8 &aDes8) |
|
32 { |
|
33 CUrlParameters *__self = new (ELeave) CUrlParameters(aAction, aDes8); |
|
34 CleanupStack::PushL(__self); |
|
35 //__self->ConstructL(aDes8); |
|
36 return __self; |
|
37 } |
|
38 */ |
|
39 |
|
40 /*CUrlParameters* CUrlParameters::NewL(TInt aAction, TDesC8 &aDes8) |
|
41 { |
|
42 CUrlParameters *__self = CUrlParameters::NewLC(aAction, aDes8); |
|
43 CleanupStack::Pop(__self); |
|
44 return __self; |
|
45 } |
|
46 */ |
|
47 |
|
48 //CUrlParameters::CUrlParameters(TInt aAction, TDesC8 &aDes8) : CParameters(aAction) , iDes8(aDes8) {} |
|
49 CUrlParameters::CUrlParameters(TInt aAction, TDesC &aUrl, TInt aIapId, TDesC8 &aMimeType) : CParameters(aAction) , iMimeType(aMimeType) , iIapId(aIapId) , iUrl(aUrl) {} |
|
50 |
|
51 TDesC8 &CUrlParameters::GetMimeType() |
|
52 { |
|
53 return iMimeType; |
|
54 } |
|
55 TDesC &CUrlParameters::GetUrl() |
|
56 { |
|
57 return iUrl; |
|
58 } |
|
59 TInt CUrlParameters::GetIapId() |
|
60 { |
|
61 return iIapId; |
|
62 } |
|
63 |
|
64 /*CUrlParameters::~CUrlParameters() |
|
65 { |
|
66 //delete iDes8; |
|
67 } |
|
68 */ |
|
69 |
|
70 /*TDesC8 &CUrlParameters::GetDes8() |
|
71 { |
|
72 return iDes8; |
|
73 } |
|
74 */ |
|
75 |
|
76 /* |
|
77 TFileName CFileNameParameters::GetFileName() |
|
78 { |
|
79 return iFileName; |
|
80 } |
|
81 */ |