|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_NCDCONFIGURATIONPROTOCOLDETAILIMPL_H |
|
20 #define C_NCDCONFIGURATIONPROTOCOLDETAILIMPL_H |
|
21 |
|
22 #include "ncd_cp_detail.h" |
|
23 |
|
24 class CNcdConfigurationProtocolContentImpl : public CBase, |
|
25 public MNcdConfigurationProtocolContent |
|
26 { |
|
27 public: |
|
28 static CNcdConfigurationProtocolContentImpl* NewL(); |
|
29 static CNcdConfigurationProtocolContentImpl* NewLC(); |
|
30 |
|
31 ~CNcdConfigurationProtocolContentImpl(); |
|
32 |
|
33 public: // From MNcdConfigurationProtocolContent |
|
34 |
|
35 const TDesC& Key() const; |
|
36 const TDesC& Value() const; |
|
37 const TDesC& Content() const; |
|
38 |
|
39 private: |
|
40 void ConstructL(); |
|
41 |
|
42 public: |
|
43 HBufC* iKey; |
|
44 HBufC* iValue; |
|
45 HBufC* iContent; |
|
46 }; |
|
47 |
|
48 class CNcdConfigurationProtocolDetailImpl : public CBase, |
|
49 public MNcdConfigurationProtocolDetail |
|
50 { |
|
51 public: |
|
52 static CNcdConfigurationProtocolDetailImpl* NewL(); |
|
53 static CNcdConfigurationProtocolDetailImpl* NewLC(); |
|
54 |
|
55 ~CNcdConfigurationProtocolDetailImpl(); |
|
56 |
|
57 public: // From MNcdConfigurationProtocolDetail |
|
58 |
|
59 const TDesC& Id() const; |
|
60 const TDesC& Value() const; |
|
61 const TDesC& GroupId() const; |
|
62 const TDesC& Label() const; |
|
63 const RPointerArray<MNcdConfigurationProtocolDetail>& Details() const; |
|
64 const RPointerArray<MNcdConfigurationProtocolContent>& Contents() const; |
|
65 |
|
66 private: |
|
67 void ConstructL(); |
|
68 |
|
69 public: |
|
70 HBufC* iId; |
|
71 HBufC* iValue; |
|
72 HBufC* iGroupId; |
|
73 HBufC* iLabel; |
|
74 RPointerArray<MNcdConfigurationProtocolDetail> iDetails; |
|
75 RPointerArray<MNcdConfigurationProtocolContent> iContents; |
|
76 }; |
|
77 |
|
78 #endif |