|
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_NCDPREMINETPROTOCOLEXPIREDCACHEDDATAIMPL_H |
|
20 #define C_NCDPREMINETPROTOCOLEXPIREDCACHEDDATAIMPL_H |
|
21 |
|
22 #include "ncd_pp_expiredcacheddata.h" |
|
23 |
|
24 class CNcdPreminetProtocolExpiredEntityImpl : public CBase, |
|
25 public MNcdPreminetProtocolExpiredEntity |
|
26 { |
|
27 public: |
|
28 void ConstructL(); |
|
29 ~CNcdPreminetProtocolExpiredEntityImpl(); |
|
30 |
|
31 public: // From MNcdPreminetProtocolExpiredEntity |
|
32 const TDesC& EntityId() const; |
|
33 TBool Recursive() const; |
|
34 TBool ForceUpdate() const; |
|
35 |
|
36 public: |
|
37 HBufC* iEntityId; |
|
38 TBool iRecursive; |
|
39 TBool iForceUpdate; |
|
40 }; |
|
41 |
|
42 class CNcdPreminetProtocolClearOldEntitiesImpl : public CBase, |
|
43 public MNcdPreminetProtocolClearOldEntities |
|
44 { |
|
45 public: |
|
46 void ConstructL(); |
|
47 ~CNcdPreminetProtocolClearOldEntitiesImpl(); |
|
48 const TDesC& StartTimestamp() const; |
|
49 const TDesC& EndTimestamp() const; |
|
50 |
|
51 public: // From MNcdPreminetProtocolClearOldEntities |
|
52 HBufC* iStartTimestamp; |
|
53 HBufC* iEndTimestamp; |
|
54 }; |
|
55 |
|
56 class CNcdPreminetProtocolExpiredCachedDataImpl : public CBase, |
|
57 public MNcdPreminetProtocolExpiredCachedData |
|
58 { |
|
59 public: |
|
60 void ConstructL(); |
|
61 ~CNcdPreminetProtocolExpiredCachedDataImpl(); |
|
62 |
|
63 public: // From MNcdPreminetProtocolExpiredCachedData |
|
64 TInt ExpiredEntityCount() const; |
|
65 |
|
66 const MNcdPreminetProtocolExpiredEntity& ExpiredEntityL( TInt aIndex ) const; |
|
67 |
|
68 const MNcdPreminetProtocolClearOldEntities& ClearOldEntities() const; |
|
69 |
|
70 public: |
|
71 RPointerArray<MNcdPreminetProtocolExpiredEntity> iExpiredEntityCounts; |
|
72 CNcdPreminetProtocolClearOldEntitiesImpl* iClearOldEntities; |
|
73 }; |
|
74 |
|
75 #endif |