|
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: CNcdPreminetProtocolIcon declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_NCDPREMINETPROTOCOLICONIMPL_H |
|
20 #define M_NCDPREMINETPROTOCOLICONIMPL_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "ncd_pp_icon.h" |
|
25 |
|
26 class CNcdPreminetProtocolIcon : public CBase, |
|
27 public MNcdPreminetProtocolIcon |
|
28 { |
|
29 public: |
|
30 |
|
31 /** |
|
32 * Constructor. |
|
33 * |
|
34 * @return Protocol element icon. |
|
35 */ |
|
36 static CNcdPreminetProtocolIcon* NewL(); |
|
37 |
|
38 /** |
|
39 * Constructor. |
|
40 * |
|
41 * @return Protocol element icon. |
|
42 */ |
|
43 static CNcdPreminetProtocolIcon* NewLC(); |
|
44 |
|
45 /** |
|
46 * Constructor. |
|
47 */ |
|
48 CNcdPreminetProtocolIcon(); |
|
49 |
|
50 /** |
|
51 * Constructor. |
|
52 */ |
|
53 void ConstructL(); |
|
54 |
|
55 /** |
|
56 * Destructor. |
|
57 */ |
|
58 virtual ~CNcdPreminetProtocolIcon(); |
|
59 |
|
60 // From base class MNcdPreminetProtocolIcon |
|
61 |
|
62 /** |
|
63 * @see MNcdPreminetProtocolIcon::Id |
|
64 */ |
|
65 const TDesC& Id() const; |
|
66 |
|
67 /** |
|
68 * @see MNcdPreminetProtocolIcon::DataBlock |
|
69 */ |
|
70 const TDesC& DataBlock() const; |
|
71 |
|
72 /** |
|
73 * @see MNcdPreminetProtocolIcon::Uri |
|
74 */ |
|
75 const TDesC& Uri() const; |
|
76 |
|
77 /** |
|
78 * @see MNcdPreminetProtocolIcon::Uri |
|
79 */ |
|
80 const TDesC8& Data() const; |
|
81 |
|
82 public: |
|
83 |
|
84 HBufC* iId; |
|
85 HBufC* iDataBlock; |
|
86 HBufC* iUri; |
|
87 HBufC8* iData; |
|
88 |
|
89 }; |
|
90 |
|
91 #endif // M_NCDPREMINETPROTOCOLICONIMPL_H |