18 |
18 |
19 #ifndef C_FSCACTIONUTILS_H |
19 #ifndef C_FSCACTIONUTILS_H |
20 #define C_FSCACTIONUTILS_H |
20 #define C_FSCACTIONUTILS_H |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 //<cmail> |
|
24 #include "mfscactionutils.h" |
23 #include "mfscactionutils.h" |
25 //</cmail> |
|
26 #include <RPbkViewResourceFile.h> |
24 #include <RPbkViewResourceFile.h> |
27 |
25 |
28 // FORWARD DECLARATIONS |
26 // FORWARD DECLARATIONS |
29 class CPbkContactItem; |
27 class CPbkContactItem; |
30 class CRepository; |
28 class CRepository; |
236 * |
234 * |
237 * @param aFilePath path to file with filename |
235 * @param aFilePath path to file with filename |
238 */ |
236 */ |
239 TPtrC GetFileDirL( const TDesC& aFilePath ); |
237 TPtrC GetFileDirL( const TDesC& aFilePath ); |
240 |
238 |
241 // Fix for EMZG-7M23KX |
|
242 /** |
239 /** |
243 * Find and add resource file to the list maintained by CCoeEnv. |
240 * Find and add resource file to the list maintained by CCoeEnv. |
244 * Resource file must be deleted (remove from the list) after usage. |
241 * Resource file must be deleted (remove from the list) after usage. |
245 * @return The offset value defined for this resource file |
242 * @return The offset value defined for this resource file |
246 */ |
243 */ |
247 TInt FindAndAddResourceFileL(); |
244 TInt FindAndAddResourceFileL(); |
248 |
245 |
|
246 /** |
|
247 * Helper method that appends a specific field to a buffer of contact |
|
248 * data. |
|
249 * The method assumes that fsactionutils.rsc resource file has been |
|
250 * already added to CCoeEnv before being called. |
|
251 * |
|
252 * @param aContact Buffer to which the field data is appended. |
|
253 * @param aFieldResourceId Id of the field data (which is being added to |
|
254 * contact buffer. |
|
255 * @param aStoreContact Reference to the contact in Phonebook store |
|
256 * from which the field data that is added to |
|
257 * contact buffer is fetched. |
|
258 * @param aAddSpace Whether to add a whitespace before appending |
|
259 * the field data to contact buffer. |
|
260 */ |
|
261 void AppendFieldToContactL( TDes& aContact, |
|
262 TInt aFieldResourceId, |
|
263 MVPbkStoreContact& aStoreContact, |
|
264 TBool aAddSpace = EFalse ); |
|
265 |
249 private: |
266 private: |
250 // Private members |
267 // Private members |
251 |
268 |
252 /** |
269 /** |
253 * Contact Manager. |
270 * Contact Manager. |