mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/mediamtpdataprovider/inc/cmediamtpdataprovidergetobjectproplist.h
changeset 0 a2952bb97e68
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 CMEDIAMTPDATAPROVIDERGETOBJECTPROPLIST_H
       
    20 #define CMEDIAMTPDATAPROVIDERGETOBJECTPROPLIST_H
       
    21 
       
    22 #include"cgetobjectproplist.h"
       
    23 
       
    24 /**
       
    25 * Defines media data provider GetObjectPropList request processor
       
    26 */
       
    27 class CMediaMtpDataProviderGetObjectPropList: public CGetObjectPropList
       
    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 MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework,
       
    37         MMTPConnection& aConnection,
       
    38         MMmMtpDpConfig& aDpConfig );
       
    39 
       
    40     /**
       
    41     * Destructor
       
    42     */
       
    43     ~CMediaMtpDataProviderGetObjectPropList();
       
    44 
       
    45 private:
       
    46     /**
       
    47     * Standard C++ Constructor
       
    48     * @param aFramework, The data provider framework
       
    49     * @param aConnection, The connection from which the request comes
       
    50     * @param aWrapper Medadata access
       
    51     */
       
    52     CMediaMtpDataProviderGetObjectPropList( MMTPDataProviderFramework& aFramework,
       
    53         MMTPConnection& aConnection,
       
    54         MMmMtpDpConfig& aDpConfig );
       
    55 
       
    56     /**
       
    57     * 2nd Phase Constructor
       
    58     */
       
    59     void ConstructL();
       
    60 
       
    61 protected:
       
    62     // from CGetObjectPropList
       
    63     TInt ServiceSpecificObjectPropertyL( TUint16 aPropCode, TUint32 aHandle );
       
    64 
       
    65     };
       
    66 
       
    67 #endif // CMEDIAMTPDATAPROVIDERGETOBJECTPROPLIST_H