equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 __TLDPROPERTIES_H__ |
|
17 #define __TLDPROPERTIES_H__ |
|
18 |
|
19 #include <ineturilistdef.h> |
|
20 #include <s32mem.h> |
|
21 |
|
22 /** |
|
23 This class holds all the associated properties of TLD uri such as TLD name, List type and Policy data. |
|
24 |
|
25 @internalComponent |
|
26 */ |
|
27 NONSHARABLE_CLASS ( CTldProperties ) : public CBase |
|
28 { |
|
29 public: |
|
30 static CTldProperties* NewL ( InetUriList::TListType aListType ); |
|
31 |
|
32 ~CTldProperties (); |
|
33 |
|
34 InetUriList::TListType ListType () const; |
|
35 const TDesC8& TldName () const; |
|
36 const TDesC8& CharacterSet () const; |
|
37 |
|
38 void SetListType ( InetUriList::TListType aListType ); |
|
39 void SetTldNameL ( const TDesC8& aTldName ); |
|
40 void SetCharacterSetL ( const TDesC8& aCharacterSet ); |
|
41 |
|
42 void Clear (); |
|
43 |
|
44 private: |
|
45 CTldProperties ( InetUriList::TListType aListType ); |
|
46 |
|
47 private: |
|
48 RBuf8 iTldName; |
|
49 InetUriList::TListType iListType; |
|
50 RBuf8 iCharacterSet; |
|
51 }; |
|
52 |
|
53 #endif // __TLDPROPERTIES_H__ |