|
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: CNcdPreminetProtocolDataEntityImpl declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_IMPL_H |
|
20 #define NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_IMPL_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "ncd_pp_entitydependency.h" |
|
24 #include "ncdprotocoltypes.h" |
|
25 |
|
26 class CNcdPreminetProtocolEntityDependencyImpl |
|
27 : public CBase, public MNcdPreminetProtocolEntityDependency |
|
28 { |
|
29 |
|
30 public: |
|
31 |
|
32 static CNcdPreminetProtocolEntityDependencyImpl* NewL(); |
|
33 static CNcdPreminetProtocolEntityDependencyImpl* NewLC(); |
|
34 |
|
35 virtual ~CNcdPreminetProtocolEntityDependencyImpl(); |
|
36 |
|
37 void ConstructL(); |
|
38 |
|
39 |
|
40 // From base class MNcdPreminetProtocolDataEntity |
|
41 |
|
42 /** |
|
43 * Returns the last modified date for this entity. |
|
44 * @return Last modified time, or KNullDesC if never modified. |
|
45 */ |
|
46 virtual const TDesC& Name() const; |
|
47 |
|
48 /** |
|
49 * Returns the size of this content. |
|
50 * @return Type |
|
51 */ |
|
52 virtual TNcdDependencyType Type() const; |
|
53 |
|
54 /** |
|
55 * Returns the ID of this entity. |
|
56 * @return Id or KNullDesC |
|
57 */ |
|
58 virtual const TDesC& ContentId() const; |
|
59 |
|
60 /** |
|
61 * Retuns the version of this entity. |
|
62 * @return Version or KNullDesC |
|
63 */ |
|
64 virtual const TDesC& ContentVersion() const; |
|
65 |
|
66 /** |
|
67 * Returns the ID of this entity. |
|
68 * @return Id or KNullDesC |
|
69 */ |
|
70 virtual const TDesC& EntityId() const; |
|
71 |
|
72 /** |
|
73 * Retuns the version of this entity. |
|
74 * @return Version or KNullDesC |
|
75 */ |
|
76 virtual const TDesC& EntityTimestamp() const; |
|
77 |
|
78 /** |
|
79 * Returns the ID of this entity. |
|
80 * @return Id or KNullDesC |
|
81 */ |
|
82 virtual const MNcdPreminetProtocolDownload* |
|
83 DownloadDetails() const; |
|
84 |
|
85 private: |
|
86 CNcdPreminetProtocolEntityDependencyImpl(); |
|
87 |
|
88 public: |
|
89 |
|
90 HBufC* iName; |
|
91 HBufC* iTimestamp; |
|
92 TNcdDependencyType iType; |
|
93 HBufC* iContentId; |
|
94 HBufC* iContentVersion; |
|
95 HBufC* iEntityId; |
|
96 HBufC* iEntityTimestamp; |
|
97 MNcdPreminetProtocolDownload* iDownloadDetails; |
|
98 |
|
99 }; |
|
100 |
|
101 #endif // NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_IMPL_H |