|
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: MNcdPreminetProtocolDataEntity declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_H |
|
20 #define NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "ncdprotocoltypes.h" |
|
24 |
|
25 class MNcdPreminetProtocolDownload; |
|
26 |
|
27 class MNcdPreminetProtocolEntityDependency |
|
28 { |
|
29 public: |
|
30 |
|
31 /** |
|
32 * Destructor |
|
33 */ |
|
34 virtual ~MNcdPreminetProtocolEntityDependency() {} |
|
35 |
|
36 /** |
|
37 * Entity dependency name. |
|
38 * @return Name or KNullDesC |
|
39 */ |
|
40 virtual const TDesC& Name() const = 0; |
|
41 |
|
42 /** |
|
43 * Dependency type. |
|
44 * @return Type |
|
45 */ |
|
46 virtual TNcdDependencyType Type() const = 0; |
|
47 |
|
48 /** |
|
49 * Dependency content ID |
|
50 * @return Id or KNullDesC |
|
51 */ |
|
52 virtual const TDesC& ContentId() const = 0; |
|
53 |
|
54 /** |
|
55 * Dependency content version |
|
56 * @return Version or KNullDesC |
|
57 */ |
|
58 virtual const TDesC& ContentVersion() const = 0; |
|
59 |
|
60 /** |
|
61 * Dependency entity ID |
|
62 * @return Id or KNullDesC |
|
63 */ |
|
64 virtual const TDesC& EntityId() const = 0; |
|
65 |
|
66 /** |
|
67 * Dependency entity timestamp |
|
68 * @return Timestamp or KNullDesC |
|
69 */ |
|
70 virtual const TDesC& EntityTimestamp() const = 0; |
|
71 |
|
72 /** |
|
73 * Dependency download details. Ownership is NOT transferred. |
|
74 * @return Download details pointer or NULL |
|
75 */ |
|
76 virtual const MNcdPreminetProtocolDownload* |
|
77 DownloadDetails() const = 0; |
|
78 |
|
79 }; |
|
80 |
|
81 |
|
82 #endif //NCD_PROTOCOL_ELEMENT_ENTITYDEPENDENCY_H |