phonebookengines/VirtualPhonebook/VPbkSimStore/inc/CSupportedFieldTypes.h
branchRCL_3
changeset 58 d4f567ce2e7c
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
57:2666d9724c76 58:d4f567ce2e7c
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <MVPbkFieldType.h>
    25 #include <MVPbkFieldType.h>
    26 
    26 
    27 // FORWARD DECLARATIONS
    27 // FORWARD DECLARATIONS
    28 struct TVPbkGsmStoreProperty;
    28 struct TVPbkGsmStoreProperty;
       
    29 struct TVPbkUSimStoreProperty;  
    29 
    30 
    30 namespace VPbkSimStore {
    31 namespace VPbkSimStore {
    31 
    32 
    32 // FORWARD DECLARATIONS
    33 // FORWARD DECLARATIONS
    33 class CFieldTypeMappings;
    34 class CFieldTypeMappings;
    50         * @return a new instance of this class
    51         * @return a new instance of this class
    51         */
    52         */
    52         static CSupportedFieldTypes* NewL(
    53         static CSupportedFieldTypes* NewL(
    53             const CFieldTypeMappings& aFieldTypeMappings,
    54             const CFieldTypeMappings& aFieldTypeMappings,
    54             TVPbkGsmStoreProperty& aSimStoreProperty );
    55             TVPbkGsmStoreProperty& aSimStoreProperty );
       
    56         /**
       
    57         * Two-phased constructor.
       
    58         * @param aSimStoreProperty sim store properties
       
    59         * @return a new instance of this class
       
    60         */
       
    61         static CSupportedFieldTypes* NewL(
       
    62             const CFieldTypeMappings& aFieldTypeMappings,
       
    63             TVPbkGsmStoreProperty& aSimStoreProperty,
       
    64             TVPbkUSimStoreProperty& aUSimStoreProperty ); 
    55         
    65         
    56         /**
    66         /**
    57         * Destructor.
    67         * Destructor.
    58         */
    68         */
    59         virtual ~CSupportedFieldTypes();
    69         virtual ~CSupportedFieldTypes();
   107 
   117 
   108         /**
   118         /**
   109         * By default Symbian 2nd phase constructor is private.
   119         * By default Symbian 2nd phase constructor is private.
   110         */
   120         */
   111         void ConstructL( const CFieldTypeMappings& aFieldTypeMappings,
   121         void ConstructL( const CFieldTypeMappings& aFieldTypeMappings,
   112             TVPbkGsmStoreProperty& aSimStoreProperty );
   122             TVPbkGsmStoreProperty& aSimStoreProperty,
       
   123             TVPbkUSimStoreProperty* aUSimStoreProperty = NULL ); 
   113 
   124 
   114     private:    // Data
   125     private:    // Data
   115         ///Ref: An array for the supported types. Doesn't own types
   126         ///Ref: An array for the supported types. Doesn't own types
   116         RPointerArray<const MVPbkFieldType> iSupportedTypes;
   127         RPointerArray<const MVPbkFieldType> iSupportedTypes;
   117 
   128