equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 // |
|
15 |
|
16 #ifndef __CWAPPBOOKMARK_H__ |
|
17 #define __CWAPPBOOKMARK_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <e32std.h> |
|
21 |
|
22 class CIpAddress; |
|
23 |
|
24 //Class used for holding a bookmark - WAPP message can contain as many of these |
|
25 // as desired! |
|
26 class CWappBookmark: public CBase |
|
27 /** |
|
28 @internalComponent |
|
29 @released |
|
30 */ |
|
31 { |
|
32 public: // None of these are exported functions - class only used internally within DLL |
|
33 static CWappBookmark* NewLC(); |
|
34 static CWappBookmark* NewL(); |
|
35 ~CWappBookmark(); |
|
36 const TDesC& Name() const; |
|
37 const TDesC& Url() const; |
|
38 void SetNameL(const TDesC& aDes); |
|
39 void SetUrlL(const TDesC& aDes); |
|
40 private: |
|
41 void ConstructL(); |
|
42 HBufC* iBmkName; // Name of the bookmark entry |
|
43 CIpAddress* iBmkUrl; // URL of the bookmark entry |
|
44 }; |
|
45 |
|
46 #endif // __CWAPPBOOKMARK_H__ |