1 /* |
|
2 * Copyright (c) 2002-2007 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: Single SIP setting entry, which is stored to RCSE |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CRCSESIPSETTINGENTRY_H |
|
21 #define CRCSESIPSETTINGENTRY_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <badesca.h> |
|
26 |
|
27 |
|
28 // CONSTANTS |
|
29 const TInt KMaxConferencingFactoryURILength = 200; |
|
30 |
|
31 const TInt KMaxMusicServerURILenght = 200; |
|
32 |
|
33 const TInt KMaxIPVoiceMailBoxURILenght = 200; |
|
34 |
|
35 const TInt KMaxCFBusyURILenght = 200; |
|
36 |
|
37 const TInt KMaxCFNoAnsURILenght = 200; |
|
38 |
|
39 const TInt KMaxCFUncondURILenght = 200; |
|
40 |
|
41 // OMA Provisioning Content 1.1 defines the minimum lengths of |
|
42 // these constants. These constants are doubled. |
|
43 |
|
44 // CLASS DECLARATION |
|
45 |
|
46 /** |
|
47 * SIP Setting entry, which is stored to RCSE. |
|
48 * |
|
49 * @lib RCSE.lib |
|
50 * @since S60 3.0 |
|
51 */ |
|
52 class CRCSESIPSettingEntry : public CBase |
|
53 { |
|
54 public: // Constructors and destructor |
|
55 |
|
56 /** |
|
57 * Two-phased constructor. |
|
58 */ |
|
59 IMPORT_C static CRCSESIPSettingEntry* NewL(); |
|
60 |
|
61 /** |
|
62 * Two-phased constructor. |
|
63 */ |
|
64 IMPORT_C static CRCSESIPSettingEntry* NewLC(); |
|
65 |
|
66 /** |
|
67 * Destructor. |
|
68 */ |
|
69 IMPORT_C virtual ~CRCSESIPSettingEntry(); |
|
70 |
|
71 public: // New functions |
|
72 |
|
73 /** |
|
74 * Resets entry to default values. |
|
75 * @since S60 3.0 |
|
76 */ |
|
77 void ResetDefaultValues(); |
|
78 |
|
79 private: |
|
80 |
|
81 /** |
|
82 * C++ default constructor. |
|
83 * Initialises values to ENotSet. |
|
84 */ |
|
85 CRCSESIPSettingEntry(); |
|
86 |
|
87 public: // Data |
|
88 |
|
89 // Identifier of profile. This values is set by CRCSESSIPSetting, when |
|
90 // profile entry is got from CRCSESSIPSetting. |
|
91 TInt iVOIPSIPProfileSpecificId; |
|
92 |
|
93 // SIP Profile ID. |
|
94 TInt iSIPProfileId; |
|
95 |
|
96 // Conferencing factory URI. |
|
97 TBuf<KMaxConferencingFactoryURILength> iConferenceFactoryURI; |
|
98 |
|
99 // Music server URI. |
|
100 TBuf<KMaxMusicServerURILenght> iMusicServerURI; |
|
101 |
|
102 // IP VoiceMailBox URI. |
|
103 TBuf<KMaxIPVoiceMailBoxURILenght> iVoiceMailBoxURI; |
|
104 |
|
105 // Call forwarding no answer SIP or TEL URI. |
|
106 TBuf<KMaxCFNoAnsURILenght> iCFNoAnsURI; |
|
107 |
|
108 // Call forwarding when busy SIP or TEL URI. |
|
109 TBuf<KMaxCFBusyURILenght> iCFBusyURI; |
|
110 |
|
111 // Call forwarding unconditional SIP or TEL URI. |
|
112 TBuf<KMaxCFUncondURILenght> iCFUncondURI; |
|
113 }; |
|
114 |
|
115 #endif // CRCSESIPSETTINGENTRY_H |
|
116 |
|
117 // End of File |
|