mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/inc/cgetinterdependentpropdesc.h
changeset 25 d881023c13eb
equal deleted inserted replaced
21:a05c44bc3c61 25:d881023c13eb
       
     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:  GetInterdependentPropDesc operation
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CGETINTERDEPENDENTPROPDESC_H
       
    19 #define CGETINTERDEPENDENTPROPDESC_H
       
    20 
       
    21 #include "crequestprocessor.h"
       
    22 
       
    23 class MMmMtpDpConfig;
       
    24 class CMTPTypeInterdependentPropDesc;
       
    25 
       
    26 class CGetInterdependentPropDesc : public CRequestProcessor
       
    27     {
       
    28 public:
       
    29     /**
       
    30      *
       
    31      */
       
    32     IMPORT_C static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework,
       
    33         MMTPConnection& aConnection,
       
    34         MMmMtpDpConfig& aDpConfig );
       
    35 
       
    36     /**
       
    37     * Destructor
       
    38     */
       
    39     IMPORT_C virtual ~CGetInterdependentPropDesc();
       
    40 
       
    41 protected:
       
    42     /**
       
    43     * Standard C++ Constructor
       
    44     * @param aFramework    The data provider framework
       
    45     * @param aConnection   The connection from which the request comes
       
    46     * @param aWrapper      Medadata access interface
       
    47     */
       
    48     CGetInterdependentPropDesc( MMTPDataProviderFramework& aFramework,
       
    49         MMTPConnection& aConnection,
       
    50         MMmMtpDpConfig& aDpConfig );
       
    51 
       
    52     /**
       
    53     * 2nd Phase Constructor
       
    54     */
       
    55     void ConstructL();
       
    56 
       
    57 protected:
       
    58     // from CRequestProcessor
       
    59     IMPORT_C TMTPResponseCode CheckRequestL();
       
    60 
       
    61     IMPORT_C void ServiceL();
       
    62 
       
    63 protected:
       
    64     MMmMtpDpConfig& iDpConfig;
       
    65 
       
    66     CMTPTypeInterdependentPropDesc* iDataset;
       
    67 
       
    68     TUint32 iFormatCode;
       
    69 
       
    70     };
       
    71 
       
    72 #endif // CGETINTERDEPENDENTPROPDESC_H