mmappcomponents/mmmtpdataprovider/inc/mmmtpdpconfig.h
changeset 25 d881023c13eb
parent 0 a2952bb97e68
equal deleted inserted replaced
21:a05c44bc3c61 25:d881023c13eb
    18 
    18 
    19 #ifndef MMMTPDPCONFIG_H
    19 #ifndef MMMTPDPCONFIG_H
    20 #define MMMTPDPCONFIG_H
    20 #define MMMTPDPCONFIG_H
    21 
    21 
    22 class CMmMtpDpMetadataAccessWrapper;
    22 class CMmMtpDpMetadataAccessWrapper;
       
    23 class CPropertySettingUtility;
       
    24 class CDescriptionUtility;
    23 
    25 
    24 class MMmMtpDpConfig
    26 class MMmMtpDpConfig
    25     {
    27     {
    26 public:
    28 public:
    27     /**
    29     /**
    28     * Get supported format from special data provider
    30     * Get supported format from special data provider
    29     * @param aArray         The array which is used to store supported format
    31     * @return The array which is used to store supported format
    30     */
    32     */
    31     virtual const RArray<TUint>* GetSupportedFormat() const = 0;
    33     virtual const RArray<TUint>* GetSupportedFormat() const = 0;
    32 
    34 
    33     /**
    35     /**
    34     *
    36     * Get the arry of property code which is inline with the format code
       
    37     * @return The array of what specified format supported
    35     */
    38     */
    36     virtual const RArray<TUint>* GetSupportedPropertiesL( TUint32 aFormatCode ) const = 0;
    39     virtual const RArray<TUint>* GetSupportedPropertiesL( TUint32 aFormatCode ) const = 0;
    37 
    40 
    38     /**
    41     /**
    39     *
    42     * Get the array of property code what dp supported all
       
    43     * @return The array of what dp supported
    40     */
    44     */
    41     virtual const RArray<TUint>* GetAllSupportedProperties() const = 0;
    45     virtual const RArray<TUint>* GetAllSupportedProperties() const = 0;
    42 
    46 
    43     /**
    47     /**
    44     * Get default storage Id from resource file, if not specify a storage Id
    48     * Get default storage Id from resource file, if not specify a storage Id
    45     * @return TUint32 Default storage Id which read from resource file
    49     * @return TUint32 Default storage Id which read from resource file
    46     */
    50     */
    47     virtual TUint32 GetDefaultStorageIdL() const = 0;
    51     virtual TUint32 GetDefaultStorageIdL() const = 0;
    48 
    52 
    49     /*
    53     /**
    50     *
    54     * Get db handler wrapper
       
    55     * @return wrapper references
    51     */
    56     */
    52     virtual CMmMtpDpMetadataAccessWrapper& GetWrapperL() = 0;
    57     virtual CMmMtpDpMetadataAccessWrapper& GetWrapperL() = 0;
       
    58 
       
    59     /**
       
    60     * Get the utility to setting properties
       
    61     */
       
    62     virtual CPropertySettingUtility* PropSettingUtility() = 0;
       
    63 
       
    64     /**
       
    65     * Get the utiltiy to setting descriptions
       
    66     */
       
    67     virtual CDescriptionUtility* DescriptionUtility() = 0;
       
    68 
    53     };
    69     };
    54 
    70 
    55 #endif // MMMTPDPCONFIG_H
    71 #endif // MMMTPDPCONFIG_H