|
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_PURCHASEPROCESSED_IMPL_H |
|
20 #define NCD_PROTOCOL_ELEMENT_PURCHASEPROCESSED_IMPL_H |
|
21 |
|
22 #include "ncd_pp_purchase.h" |
|
23 #include "ncdprotocoltypes.h" |
|
24 |
|
25 class MNcdConfigurationProtocolQuery; |
|
26 |
|
27 class CNcdPreminetProtocolPurchaseProcessedImpl |
|
28 : public CBase, public MNcdPreminetProtocolPurchaseProcessed |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 static CNcdPreminetProtocolPurchaseProcessedImpl* NewL(); |
|
34 static CNcdPreminetProtocolPurchaseProcessedImpl* NewLC(); |
|
35 |
|
36 virtual ~CNcdPreminetProtocolPurchaseProcessedImpl(); |
|
37 |
|
38 void ConstructL(); |
|
39 |
|
40 |
|
41 // From base class MNcdPreminetProtocolPurchaseProcessed |
|
42 /** |
|
43 * Returns the ID of this entity. |
|
44 * @return Id |
|
45 */ |
|
46 virtual TInt ResultCode() const; |
|
47 |
|
48 /** |
|
49 * Returns the dependency ID of this entity. |
|
50 * @return Id |
|
51 */ |
|
52 virtual const MNcdPreminetProtocolPurchaseEntity& |
|
53 EntityL(TInt aIndex) const; |
|
54 virtual TInt EntityCount() const; |
|
55 |
|
56 virtual const MNcdConfigurationProtocolQuery* |
|
57 Information() const; |
|
58 |
|
59 virtual const TDesC& TransactionId() const; |
|
60 virtual const TDesC& QueryId() const; |
|
61 |
|
62 private: |
|
63 CNcdPreminetProtocolPurchaseProcessedImpl(); |
|
64 |
|
65 public: |
|
66 |
|
67 TInt iResultCode; |
|
68 RPointerArray<MNcdPreminetProtocolPurchaseEntity> iEntities; |
|
69 MNcdConfigurationProtocolQuery* iInformation; |
|
70 |
|
71 HBufC* iTransactionId; |
|
72 HBufC* iQueryId; |
|
73 |
|
74 }; |
|
75 |
|
76 #endif // NCD_PROTOCOL_ELEMENT_PURCHASEPROCESSED_IMPL_H |