equal
deleted
inserted
replaced
|
1 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // WWW Hotlist Item Settings |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __WWWP_H__ |
|
19 #define __WWWP_H__ |
|
20 |
|
21 #include <ipaddr.h> |
|
22 |
|
23 class CWWWHotlistItem : public CBase |
|
24 /** |
|
25 @internalComponent |
|
26 @released |
|
27 */ |
|
28 { |
|
29 public: |
|
30 CWWWHotlistItem(); |
|
31 ~CWWWHotlistItem(); |
|
32 const TDesC& Name() const; |
|
33 const TDesC& Url() const; |
|
34 |
|
35 void SetNameL(const TDesC& aDes); |
|
36 void SetUrlL(const TDesC& aDes); |
|
37 |
|
38 private: |
|
39 HBufC* iBmkName; // Name of the bookmark entry |
|
40 CIpAddress* iBmkUrl; // URL of the bookmark entry |
|
41 }; |
|
42 |
|
43 |
|
44 class CWWWHotlistParser : public CBase |
|
45 /** |
|
46 @internalComponent |
|
47 @released |
|
48 */ |
|
49 { |
|
50 public: |
|
51 static CWWWHotlistParser* NewL(RFs& aFs); |
|
52 ~CWWWHotlistParser(); |
|
53 void ParseL(CParsedFieldCollection& aIacpFields); |
|
54 void ProcessL(CMsvEntry& aEntry); |
|
55 |
|
56 private: |
|
57 CWWWHotlistParser(RFs& aFs); |
|
58 void ConstructL(); |
|
59 void StoreL(CMsvEntry& aEntry); |
|
60 |
|
61 private: |
|
62 CArrayPtrSeg<CWWWHotlistItem>* iHotlistItemList; // Array of bookmarks to store |
|
63 RFs& iFs; |
|
64 }; |
|
65 #endif |