emailcontacts/contactactionservice/inc/cfscactionutils.h
branchRCL_3
changeset 80 726fba06891a
parent 70 968773a0b6ef
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
    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>
    23 #include "mfscactionutils.h"
    24 #include "mfscactionutils.h"
       
    25 //</cmail>
    24 #include <RPbkViewResourceFile.h>
    26 #include <RPbkViewResourceFile.h>
    25 
    27 
    26 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    27 class CPbkContactItem;
    29 class CPbkContactItem;
    28 class CRepository;
    30 class CRepository;
   234      * 
   236      * 
   235      * @param aFilePath path to file with filename
   237      * @param aFilePath path to file with filename
   236      */
   238      */
   237     TPtrC GetFileDirL( const TDesC& aFilePath );
   239     TPtrC GetFileDirL( const TDesC& aFilePath );
   238     
   240     
       
   241     // Fix for EMZG-7M23KX
   239     /**
   242     /**
   240      * Find and add resource file to the list maintained by CCoeEnv.
   243      * Find and add resource file to the list maintained by CCoeEnv.
   241      * Resource file must be deleted (remove from the list) after usage.
   244      * Resource file must be deleted (remove from the list) after usage.
   242      * @return The offset value defined for this resource file
   245      * @return The offset value defined for this resource file
   243      */
   246      */
   244     TInt FindAndAddResourceFileL();
   247     TInt FindAndAddResourceFileL();
   245 
   248 
   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     
       
   266 private:
   249 private:
   267     // Private members
   250     // Private members
   268 
   251 
   269     /**
   252     /**
   270      * Contact Manager.
   253      * Contact Manager.