|
1 /* |
|
2 * Copyright (c) 2006 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: CNcdPreminetProtocolPurchaseImpl declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_PROTOCOL_ELEMENT_PURCHASEENTITY_IMPL_H |
|
20 #define NCD_PROTOCOL_ELEMENT_PURCHASEENTITY_IMPL_H |
|
21 |
|
22 #include "ncd_pp_purchase.h" |
|
23 #include "ncdprotocoltypes.h" |
|
24 |
|
25 class CNcdPreminetProtocolPurchaseEntityImpl |
|
26 : public CBase, public MNcdPreminetProtocolPurchaseEntity |
|
27 { |
|
28 |
|
29 public: |
|
30 |
|
31 static CNcdPreminetProtocolPurchaseEntityImpl* NewL(); |
|
32 static CNcdPreminetProtocolPurchaseEntityImpl* NewLC(); |
|
33 |
|
34 virtual ~CNcdPreminetProtocolPurchaseEntityImpl(); |
|
35 |
|
36 void ConstructL(); |
|
37 |
|
38 virtual const TDesC& Ticket() const; |
|
39 |
|
40 virtual const TDesC& Id() const; |
|
41 |
|
42 virtual const RArray<TNcdDeliveryMethod>& |
|
43 DeliveryMethods() const; |
|
44 |
|
45 virtual const MNcdPreminetProtocolDownload& |
|
46 DownloadDetailsL(TInt aIndex) const; |
|
47 virtual TInt DownloadDetailsCount() const; |
|
48 |
|
49 virtual const TDesC& Price() const; |
|
50 virtual const TDesC& PriceCurrency() const; |
|
51 virtual const TDesC& PriceText() const; |
|
52 |
|
53 private: |
|
54 CNcdPreminetProtocolPurchaseEntityImpl(); |
|
55 |
|
56 public: |
|
57 |
|
58 HBufC* iTicket; |
|
59 HBufC* iId; |
|
60 |
|
61 RArray<TNcdDeliveryMethod> iDeliveryMethods; |
|
62 RPointerArray<MNcdPreminetProtocolDownload> iDownloadDetails; |
|
63 |
|
64 HBufC* iPrice; |
|
65 HBufC* iPriceCurrency; |
|
66 HBufC* iPriceText; |
|
67 |
|
68 }; |
|
69 |
|
70 #endif // NCD_PROTOCOL_ELEMENT_PURCHASEENTITY_IMPL_H |