1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // contains header file of the SMS settings. |
14 // contains header file of the SMS settings. |
15 // |
15 // |
16 // |
16 // |
17 |
|
18 |
|
19 |
17 |
20 /** |
18 /** |
21 @file |
19 @file |
22 */ |
20 */ |
23 |
21 |
87 IMPORT_C void ExternalizeL(RWriteStream& aStream) const; |
85 IMPORT_C void ExternalizeL(RWriteStream& aStream) const; |
88 |
86 |
89 private: |
87 private: |
90 enum |
88 enum |
91 { |
89 { |
92 KDefaultTimeoutMicroSeconds32=60000000 ///<60 sec |
90 KDefaultTimeoutMicroSeconds32=60000000 //<60 sec |
93 }; |
91 }; |
94 enum |
92 enum |
95 { |
93 { |
96 KDefaultSendTryLimit=4 |
94 KDefaultSendTryLimit=4 |
97 }; |
95 }; |
98 enum |
96 enum |
99 { |
97 { |
100 KDefaultReassemblyLifetime=2*1440 ///< two days |
98 KDefaultReassemblyLifetime=2*1440 //< two days |
101 }; |
99 }; |
102 enum |
100 enum |
103 { |
101 { |
104 KDefaultKSegmentationLifetimeMultiplier=1200 ///< 1.2 |
102 KDefaultKSegmentationLifetimeMultiplier=1200 //< 1.2 |
105 }; |
103 }; |
106 enum |
104 enum |
107 { |
105 { |
108 KDefaultModemInitializationTimeoutMicroSeconds32=30000000 ///<30sec |
106 KDefaultModemInitializationTimeoutMicroSeconds32=30000000 //<30sec |
109 }; |
107 }; |
110 enum |
108 enum |
111 { |
109 { |
112 KDefaultSendTryTimeoutMicroSeconds32=60000000 ///< 60sec |
110 KDefaultSendTryTimeoutMicroSeconds32=60000000 //< 60sec |
113 }; |
111 }; |
114 enum |
112 enum |
115 { |
113 { |
116 KDefaultBootTimerMicroSeconds32=60000000 // 60sec |
114 KDefaultBootTimerMicroSeconds32=60000000 // 60sec |
117 }; |
115 }; |
120 ESmsFlagDeletePDUsFromSIM=0x01, |
118 ESmsFlagDeletePDUsFromSIM=0x01, |
121 ESmsFlagDeletePDUsFromPhoneStores=0x02, |
119 ESmsFlagDeletePDUsFromPhoneStores=0x02, |
122 ESmsFlagDeletePDUsFromCombinedStores=0x04 |
120 ESmsFlagDeletePDUsFromCombinedStores=0x04 |
123 }; |
121 }; |
124 private: |
122 private: |
125 TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32; ///<TimeOut period in microseconds for sending a PDU |
123 TTimeIntervalMicroSeconds32 iTimeoutMicroSeconds32; //<TimeOut period in microseconds for sending a PDU |
126 /** |
124 /** |
127 * Number of attempts for sending a PDU. |
125 * Number of attempts for sending a PDU. |
128 * @deprecated 7.0 |
126 * @deprecated 7.0 |
129 */ |
127 */ |
130 TInt iSendTryLimit; |
128 TInt iSendTryLimit; |
131 TInt iFlags; ///<Contains TSmsSettingsFlags |
129 TInt iFlags; //<Contains TSmsSettingsFlags |
132 TTimeIntervalMinutes iReassemblyLifetime;///< Maximum time PDUs making a concatenated message stay in the reassembly store before they have all arrived |
130 TTimeIntervalMinutes iReassemblyLifetime;//< Maximum time PDUs making a concatenated message stay in the reassembly store before they have all arrived |
133 TInt iKSegmentationLifetimeMultiplier; ///< Validity period is multiplied by this fraction, 1000=1:1 |
131 TInt iKSegmentationLifetimeMultiplier; //< Validity period is multiplied by this fraction, 1000=1:1 |
134 TTimeIntervalMicroSeconds32 iModemInitializationTimeoutMicroSeconds32;///<TimeOut period in microseconds for initialising the modem |
132 TTimeIntervalMicroSeconds32 iModemInitializationTimeoutMicroSeconds32;//<TimeOut period in microseconds for initialising the modem |
135 TTimeIntervalMicroSeconds32 iSendTryTimeoutMicroSeconds32;///< TimeOut period in microseconds for the send operation |
133 TTimeIntervalMicroSeconds32 iSendTryTimeoutMicroSeconds32;//< TimeOut period in microseconds for the send operation |
136 TTimeIntervalMicroSeconds32 iBootTimerTimeout32; // TimeOut period in microseconds for the boot timer. |
134 TTimeIntervalMicroSeconds32 iBootTimerTimeout32; // TimeOut period in microseconds for the boot timer. |
137 }; |
135 }; |
138 |
136 |
139 #include "smsuset.inl" |
137 #include "smsuset.inl" |
140 |
138 |