|
1 /* |
|
2 * Copyright (c) 2005 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: This class represents the data of a presence settings set. |
|
15 * PresSettingsAPI deals with the Sets of all |
|
16 * presence settings. |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 #ifndef __PRESSETTINGSSET__ |
|
24 #define __PRESSETTINGSSET__ |
|
25 |
|
26 //includes |
|
27 #include <simpleenginedomaincrkeys.h> |
|
28 |
|
29 // FOR INTERNAL USE |
|
30 // constants |
|
31 const TInt KPresSetNameMaxLength = 100; |
|
32 const TInt KContentSrvrAddMaxLength = 255; |
|
33 const TInt KPresDomainSyntxMaxLength = 255; |
|
34 const TInt KPresProviderIDMaxLength = 255; |
|
35 const TInt KPresNormalListLength = 10; |
|
36 |
|
37 const TInt KPresIntInit = 0; |
|
38 _LIT( KPresStrInit, "None"); |
|
39 |
|
40 /** |
|
41 * This is the class representing a settings set data. |
|
42 **/ |
|
43 class TPresSettingsSet |
|
44 { |
|
45 public: |
|
46 |
|
47 /** |
|
48 * C++ constructor |
|
49 * |
|
50 * @param none |
|
51 * @return none |
|
52 */ |
|
53 IMPORT_C TPresSettingsSet(); |
|
54 |
|
55 public: // data |
|
56 |
|
57 /** |
|
58 * Data members representing a settings set. |
|
59 */ |
|
60 TBuf<KPresSetNameMaxLength> iSetName; |
|
61 TInt iSipProfile; |
|
62 TInt iXDMSetting; |
|
63 TInt iObjectSize; |
|
64 TBuf<KContentSrvrAddMaxLength> iContSrvrAdd; |
|
65 TInt iStatusOfProps; |
|
66 TInt iPublicationInt; |
|
67 TInt iMaxSubscriptions; |
|
68 TInt iMaxContactsInList; |
|
69 TBuf<KPresDomainSyntxMaxLength> iDomainSyntax; |
|
70 TBuf<KPresProviderIDMaxLength> iProviderID; |
|
71 |
|
72 }; |
|
73 |
|
74 #endif //__PRESSETTINGSSET__ |
|
75 |
|
76 // End of File |