mmappcomponents/mmmtpdataprovider/inc/mmmtpdpconfig.h
changeset 0 a2952bb97e68
child 8 bee149131e4b
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMMTPDPCONFIG_H
       
    20 #define MMMTPDPCONFIG_H
       
    21 
       
    22 class CMmMtpDpMetadataAccessWrapper;
       
    23 
       
    24 class MMmMtpDpConfig
       
    25     {
       
    26 public:
       
    27     /**
       
    28     * Get supported format from special data provider
       
    29     * @param aArray         The array which is used to store supported format
       
    30     */
       
    31     virtual const RArray<TUint>* GetSupportedFormat() const = 0;
       
    32 
       
    33     /**
       
    34     *
       
    35     */
       
    36     virtual const RArray<TUint>* GetSupportedPropertiesL( TUint32 aFormatCode ) const = 0;
       
    37 
       
    38     /**
       
    39     *
       
    40     */
       
    41     virtual const RArray<TUint>* GetAllSupportedProperties() const = 0;
       
    42 
       
    43     /**
       
    44     * Get default storage Id from resource file, if not specify a storage Id
       
    45     * @return TUint32 Default storage Id which read from resource file
       
    46     */
       
    47     virtual TUint32 GetDefaultStorageIdL() const = 0;
       
    48 
       
    49     /*
       
    50     *
       
    51     */
       
    52     virtual CMmMtpDpMetadataAccessWrapper& GetWrapperL() = 0;
       
    53     };
       
    54 
       
    55 #endif // MMMTPDPCONFIG_H