147 * @param aResourceId Resource id. |
147 * @param aResourceId Resource id. |
148 * @return String array. |
148 * @return String array. |
149 */ |
149 */ |
150 static CDesCArrayFlat* ReadDesArrayStaticLC(TInt aResourceId); |
150 static CDesCArrayFlat* ReadDesArrayStaticLC(TInt aResourceId); |
151 |
151 |
|
152 /* Implementation of CMCC PIM v3 begins*/ |
152 /** |
153 /** |
153 * Reads progress dialog progress text from resource file. |
154 * Reads progress dialog progress text from resource file. |
154 * @param aContent Content name. |
155 * @param aContent Content name. |
155 * @param aCurrent Currently processed sync item. |
156 * @param aCurrent Currently processed sync item. |
156 * @param aFinal Number of sync items. |
157 * @param aFinal Number of sync items. |
157 * @param aSend ETrue is sync phase is "sending". |
158 * @param aPhase Phase of synchronization. |
158 * @return Progress text. |
159 * @return Progress text. |
159 */ |
160 */ |
160 //HBufC* ReadProgressTextLC(const TDesC& aContent, TInt aCurrent, TInt aFinal, TInt aPhase); |
161 HBufC* ReadProgressTextLC(const TDesC& aContent, TInt aCurrent, TInt aFinal, TInt aPhase); |
|
162 /* Implementation of CMCC PIM v3 ends*/ |
161 |
163 |
162 /** |
164 /** |
163 * Reads progress dialog progress text from resource file. |
165 * Reads progress dialog progress text from resource file. |
164 * @param aContent. |
166 * @param aContent. |
165 * @param aPhase. |
167 * @param aPhase. |
174 * @param aContent Content name. |
176 * @param aContent Content name. |
175 * @return Progress text. |
177 * @return Progress text. |
176 */ |
178 */ |
177 HBufC* ReadProgressTextLC(TInt aResourceId, const TDesC& aContent); |
179 HBufC* ReadProgressTextLC(TInt aResourceId, const TDesC& aContent); |
178 |
180 |
|
181 /* Implementation of CMCC PIM v3 begins*/ |
|
182 /** |
|
183 * Reads progress dialog progress text from resource file. |
|
184 * Buffers the last aResource to minimize file operations. |
|
185 * @param aResourceId Resource id. |
|
186 * @param aCurrent Currently processed sync item. |
|
187 * @param aFinal Number of sync items. |
|
188 * @param aContent Content name. |
|
189 * @return Progress text. |
|
190 */ |
|
191 HBufC* ReadProgressTextLC(TInt aResourceId, TInt aCurrent, TInt aFinal, const TDesC& aContent); |
|
192 /* Implementation of CMCC PIM v3 ends*/ |
|
193 |
179 /** |
194 /** |
180 * Reads default profile name from resource file. |
195 * Reads default profile name from resource file. |
181 * @param aIndex Number that is added to proile name (eg. "New Profile(1)"). |
196 * @param aIndex Number that is added to proile name (eg. "New Profile(1)"). |
182 * @param aApplicationId. |
197 * @param aApplicationId. |
183 * @return Profile name. |
198 * @return Profile name. |