mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/inc/cabstractmediamtpdataprovidermoveobject.h
changeset 0 a2952bb97e68
child 9 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 CABSTRACTMEDIAMTPDATAPROVIDERMOVEOBJECT_H
       
    20 #define CABSTRACTMEDIAMTPDATAPROVIDERMOVEOBJECT_H
       
    21 
       
    22 #include "cmoveobject.h"
       
    23 
       
    24 class MMmMtpDpConfig;
       
    25 
       
    26 /**
       
    27 * Defines abstract media data provider MoveObject request processor
       
    28 */
       
    29 class CAbstractMediaMtpDataProviderMoveObject: public CMoveObject
       
    30     {
       
    31 public:
       
    32     /**
       
    33     * Two-phase construction method
       
    34     * @param aFramework   The data provider framework
       
    35     * @param aConnection  The connection from which the request comes
       
    36     * @param aWrapper Medadata access
       
    37     * @return a pointer to the created request processor object
       
    38     */
       
    39     static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework,
       
    40         MMTPConnection& aConnection,
       
    41         MMmMtpDpConfig& aDpConfig );
       
    42 
       
    43     /**
       
    44     * Destructor
       
    45     */
       
    46     ~CAbstractMediaMtpDataProviderMoveObject();
       
    47 
       
    48 private:
       
    49     /**
       
    50     * Standard c++ constructor
       
    51     * @param aFramework   The data provider framework
       
    52     * @param aConnection  The connection from which the request comes
       
    53     * @param aWrapper Medadata access
       
    54     */
       
    55     CAbstractMediaMtpDataProviderMoveObject( MMTPDataProviderFramework& aFramework,
       
    56         MMTPConnection& aConnection,
       
    57         MMmMtpDpConfig& aDpConfig );
       
    58 
       
    59     /**
       
    60     * two-phase construction
       
    61     */
       
    62     void ConstructL();
       
    63 
       
    64 protected:
       
    65 
       
    66     void ServiceGetSpecificObjectPropertyL( TUint16 aPropCode,
       
    67         TUint32 aHandle,
       
    68         const CMTPObjectMetaData& aObject );
       
    69 
       
    70     TMTPResponseCode ServiceSetSpecificObjectPropertyL( TUint16 aPropCode,
       
    71         const CMTPObjectMetaData& aObject,
       
    72         const CMTPTypeObjectPropListElement& aElement );
       
    73 
       
    74     };
       
    75 
       
    76 #endif // CABSTRACTMEDIAMTPDATAPROVIDERMOVEOBJECT_H