mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/mediamtpdataprovider/inc/cmediamtpdataproviderpropertysettingutility.h
branchRCL_3
changeset 9 bee149131e4b
equal deleted inserted replaced
4:d45095c2f4f3 9:bee149131e4b
       
     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 CMEDIAMTPDATAPROVIDERPROPERTYSETTINGUTILITY_H
       
    20 #define CMEDIAMTPDATAPROVIDERPROPERTYSETTINGUTILITY_H
       
    21 
       
    22 #include "cpropertysettingutility.h"
       
    23 
       
    24 /**
       
    25 * Defines media data provider SetObjectPropsList request processor
       
    26 */
       
    27 class CMediaMtpDataProviderPropertySettingUtility: public CPropertySettingUtility
       
    28     {
       
    29 public:
       
    30     /**
       
    31     * @param aFramework, The data provider framework
       
    32     * @param aConnection, The connection from which the request comes
       
    33     * @param aWrapper Medadata access
       
    34     * @return A pointer to the created request processor object
       
    35     */
       
    36     static CMediaMtpDataProviderPropertySettingUtility* NewL();
       
    37 
       
    38     /**
       
    39     * Destructor
       
    40     */
       
    41     ~CMediaMtpDataProviderPropertySettingUtility();
       
    42 
       
    43 private:
       
    44     /**
       
    45     * Standard C++ Constructor
       
    46     * @param aFramework, The data provider framework
       
    47     * @param aConnection, The connection from which the request comes
       
    48     * @param aWrapper Medadata access
       
    49     */
       
    50     CMediaMtpDataProviderPropertySettingUtility();
       
    51 
       
    52 protected:
       
    53     TMTPResponseCode SetSpecificObjectPropertyL( MMmMtpDpConfig& aDpConfig,
       
    54         TUint16 aPropCode,
       
    55         const CMTPObjectMetaData& aObject,
       
    56         const CMTPTypeObjectPropListElement& aElement );
       
    57 
       
    58     };
       
    59 
       
    60 #endif // CMEDIAMTPDATAPROVIDERPROPERTYSETTINGUTILITY_H