mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/mediamtpdataprovider/inc/cmediamtpdataprovidersetobjectproplist.h
branchCompilerCompatibility
changeset 13 da1f3efa404b
parent 11 5529f24b6aaf
parent 10 835a21e50645
child 16 7338708f87ae
equal deleted inserted replaced
11:5529f24b6aaf 13:da1f3efa404b
     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 #ifndef CMEDIAMTPDATAPROVIDERSETOBJECTPROPLIST_H
       
    19 #define CMEDIAMTPDATAPROVIDERSETOBJECTPROPLIST_H
       
    20 
       
    21 #include"csetobjectproplist.h"
       
    22 
       
    23 /**
       
    24 * Defines media data provider SetObjectPropsList request processor
       
    25 */
       
    26 class CMediaMtpDataProviderSetObjectPropList: public CSetObjectPropList
       
    27     {
       
    28 public:
       
    29     /**
       
    30     * @param aFramework, The data provider framework
       
    31     * @param aConnection, The connection from which the request comes
       
    32     * @param aWrapper Medadata access
       
    33     * @return A pointer to the created request processor object
       
    34     */
       
    35     static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework,
       
    36         MMTPConnection& aConnection,
       
    37         MMmMtpDpConfig& aDpConfig );
       
    38 
       
    39     /**
       
    40     * Destructor
       
    41     */
       
    42     ~CMediaMtpDataProviderSetObjectPropList();
       
    43 
       
    44 private:
       
    45     /**
       
    46     * Standard C++ Constructor
       
    47     * @param aFramework, The data provider framework
       
    48     * @param aConnection, The connection from which the request comes
       
    49     * @param aWrapper Medadata access
       
    50     */
       
    51     CMediaMtpDataProviderSetObjectPropList( MMTPDataProviderFramework& aFramework,
       
    52         MMTPConnection& aConnection,
       
    53         MMmMtpDpConfig& aDpConfig );
       
    54 
       
    55     /**
       
    56     * 2nd Phase Constructor
       
    57     */
       
    58     void ConstructL();
       
    59 
       
    60 protected:
       
    61     // from CSetObjectPropList
       
    62     TMTPResponseCode ServiceSpecificObjectPropertyL( TUint16 aPropCode,
       
    63         const CMTPObjectMetaData& aObject,
       
    64         const CMTPTypeObjectPropListElement& aElement );
       
    65 
       
    66     TInt HandleSpecificWrapperError( TInt aError,
       
    67         const CMTPObjectMetaData& aObject);
       
    68 
       
    69     };
       
    70 
       
    71 #endif // CMEDIAMTPDATAPROVIDERGETOBJECTPROPLIST_H