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*/ |
|
153 /** |
152 /** |
154 * Reads progress dialog progress text from resource file. |
153 * Reads progress dialog progress text from resource file. |
155 * @param aContent Content name. |
154 * @param aContent Content name. |
156 * @param aCurrent Currently processed sync item. |
155 * @param aCurrent Currently processed sync item. |
157 * @param aFinal Number of sync items. |
156 * @param aFinal Number of sync items. |
158 * @param aPhase Phase of synchronization. |
157 * @param aSend ETrue is sync phase is "sending". |
159 * @return Progress text. |
158 * @return Progress text. |
160 */ |
159 */ |
161 HBufC* ReadProgressTextLC(const TDesC& aContent, TInt aCurrent, TInt aFinal, TInt aPhase); |
160 //HBufC* ReadProgressTextLC(const TDesC& aContent, TInt aCurrent, TInt aFinal, TInt aPhase); |
162 /* Implementation of CMCC PIM v3 ends*/ |
|
163 |
161 |
164 /** |
162 /** |
165 * Reads progress dialog progress text from resource file. |
163 * Reads progress dialog progress text from resource file. |
166 * @param aContent. |
164 * @param aContent. |
167 * @param aPhase. |
165 * @param aPhase. |
176 * @param aContent Content name. |
174 * @param aContent Content name. |
177 * @return Progress text. |
175 * @return Progress text. |
178 */ |
176 */ |
179 HBufC* ReadProgressTextLC(TInt aResourceId, const TDesC& aContent); |
177 HBufC* ReadProgressTextLC(TInt aResourceId, const TDesC& aContent); |
180 |
178 |
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 |
|
194 /** |
179 /** |
195 * Reads default profile name from resource file. |
180 * Reads default profile name from resource file. |
196 * @param aIndex Number that is added to proile name (eg. "New Profile(1)"). |
181 * @param aIndex Number that is added to proile name (eg. "New Profile(1)"). |
197 * @param aApplicationId. |
182 * @param aApplicationId. |
198 * @return Profile name. |
183 * @return Profile name. |