phonebookui/Phonebook2/USIMExtension/src/CPsu2CopyToSimFieldInfoArray.cpp
branchRCL_3
changeset 21 9da50d567e3c
parent 20 f4a778e096c2
equal deleted inserted replaced
20:f4a778e096c2 21:9da50d567e3c
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 #include "CPsu2CopyToSimFieldInfoArray.h"
    22 #include "CPsu2CopyToSimFieldInfoArray.h"
    23 
    23 
    24 #include <RPbk2LocalizedResourceFile.h>
    24 #include <RPbk2LocalizedResourceFile.h>
    25 #include <Pbk2DataCaging.hrh>
    25 #include <Pbk2DataCaging.hrh>
    26 #include <Pbk2USimUIRes.rsg>
    26 #include <pbk2usimuires.rsg>
    27 #include <Pbk2CommonUi.rsg>
    27 #include <pbk2commonui.rsg>
    28 
    28 
    29 #include <TVPbkFieldTypeMapping.h>
    29 #include <TVPbkFieldTypeMapping.h>
    30 #include <CVPbkFieldTypeSelector.h>
    30 #include <CVPbkFieldTypeSelector.h>
    31 #include <MVPbkFieldType.h>
    31 #include <MVPbkFieldType.h>
    32 
    32 
    33 #include <coemain.h>
    33 #include <coemain.h>
    34 #include <barsread.h>
    34 #include <barsread.h>
    35 #include <gsmerror.h>
    35 #include <gsmerror.h>
    36 #include <featmgr.h>
    36 #include <featmgr.h>
    37 #include <VPbkEng.rsg>
    37 #include <vpbkeng.rsg>
    38 
    38 
    39 namespace
    39 namespace
    40 {
    40 {
    41 
    41 
    42 _LIT(KPsu2USimExtensionResFile, "Pbk2USimUIRes.rsc");
    42 _LIT(KPsu2USimExtensionResFile, "Pbk2USimUIRes.rsc");
    84          * @return The selector for the source field types.
    84          * @return The selector for the source field types.
    85          */
    85          */
    86         MVPbkFieldTypeSelector& SourceTypeSelector() const;
    86         MVPbkFieldTypeSelector& SourceTypeSelector() const;
    87         
    87         
    88         /**
    88         /**
    89          * Returns the resource id (VPbkEng.rsg) of the target field type.
    89          * Returns the resource id (vpbkeng.rsg) of the target field type.
    90          *
    90          *
    91          * @return the resource id (VPbkEng.rsg) of the target field type.
    91          * @return the resource id (vpbkeng.rsg) of the target field type.
    92          */
    92          */
    93         TInt TargetFieldtypeResId() const;
    93         TInt TargetFieldtypeResId() const;
    94     
    94     
    95         /**
    95         /**
    96          * Returns flags defined Pbk2UsimUi.hrh
    96          * Returns flags defined Pbk2UsimUi.hrh
   110             const MVPbkFieldTypeList& aMasterFieldTypeList );
   110             const MVPbkFieldTypeList& aMasterFieldTypeList );
   111             
   111             
   112     private: // Data
   112     private: // Data
   113         /// Own: source field type selector
   113         /// Own: source field type selector
   114         CVPbkFieldTypeSelector* iSourceTypeSelector;
   114         CVPbkFieldTypeSelector* iSourceTypeSelector;
   115         /// Own: target field type resource id (VPbkEng.rsg)
   115         /// Own: target field type resource id (vpbkeng.rsg)
   116         TInt iTargetFieldTypeResId;
   116         TInt iTargetFieldTypeResId;
   117         /// Flags from Pbk2UsimUi.hrh
   117         /// Flags from Pbk2UsimUi.hrh
   118         TUint8 iFlags;
   118         TUint8 iFlags;
   119         /// See TPsu2ErrorCode
   119         /// See TPsu2ErrorCode
   120         TUint8 iBlockingError;
   120         TUint8 iBlockingError;