|
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: ?description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_NCDCONFIGURATIONPROTOCOLCLIENTCONFIGURATIONIMPL_H |
|
20 #define C_NCDCONFIGURATIONPROTOCOLCLIENTCONFIGURATIONIMPL_H |
|
21 |
|
22 #include "ncd_cp_clientconfiguration.h" |
|
23 |
|
24 class CNcdConfigurationProtocolClientConfigurationImpl : public CBase, |
|
25 public MNcdConfigurationProtocolClientConfiguration |
|
26 { |
|
27 public: |
|
28 static CNcdConfigurationProtocolClientConfigurationImpl* NewL(); |
|
29 ~CNcdConfigurationProtocolClientConfigurationImpl(); |
|
30 |
|
31 public: // From MNcdConfigurationProtocolClientConfiguration |
|
32 TInt ExpirationDelta() const; |
|
33 |
|
34 TInt CookieCount() const; |
|
35 MNcdConfigurationProtocolCookie& CookieL( TInt aIndex ) const; |
|
36 TInt DetailCount() const; |
|
37 const MNcdConfigurationProtocolDetail& CNcdConfigurationProtocolClientConfigurationImpl::DetailL( TInt aIndex ) const; |
|
38 |
|
39 private: |
|
40 CNcdConfigurationProtocolClientConfigurationImpl(); |
|
41 void ConstructL(); |
|
42 |
|
43 public: |
|
44 TInt iExpirationDelta; |
|
45 CArrayPtr<MNcdConfigurationProtocolCookie>* iCookies; |
|
46 CArrayPtr<MNcdConfigurationProtocolDetail>* iDetails; |
|
47 }; |
|
48 |
|
49 #endif |