mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/inc/cgetobjectpropssupported.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:  Get object properties supported.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CGETOBJECTPROPSSUPPORTED_H
       
    20 #define CGETOBJECTPROPSSUPPORTED_H
       
    21 
       
    22 #include "crequestprocessor.h"
       
    23 
       
    24 // forward declaration
       
    25 class CMTPTypeArray;
       
    26 class CMmMtpDpMetadataAccessWrapper;
       
    27 class MMmMtpDpConfig;
       
    28 
       
    29 /**
       
    30 * Defines GetObjectPropsSupported request processor
       
    31 */
       
    32 class CGetObjectPropsSupported : public CRequestProcessor
       
    33     {
       
    34 public:
       
    35     /**
       
    36     * Two-phase construction method
       
    37     * @param aFramework    The data provider framework
       
    38     * @param aConnection    The connection from which the request comes
       
    39     * @param aDpConfig, The interface of dataprovider configuration
       
    40     * @return a pointer to the created request processor object
       
    41     */
       
    42     IMPORT_C static MMmRequestProcessor* NewL(MMTPDataProviderFramework& aFramework,
       
    43         MMTPConnection& aConnection,
       
    44         MMmMtpDpConfig& aDpConfig );
       
    45 
       
    46 
       
    47     /**
       
    48     * Destructor.
       
    49     */
       
    50     IMPORT_C ~CGetObjectPropsSupported();
       
    51 
       
    52 private:
       
    53     /**
       
    54     * Standard c++ constructor
       
    55     * @param aFramework    The data provider framework
       
    56     * @param aConnection   The connection from which the request comes
       
    57     * @param aDpConfig, The interface of dataprovider configuration
       
    58     */
       
    59     CGetObjectPropsSupported( MMTPDataProviderFramework& aFramework,
       
    60         MMTPConnection& aConnection,
       
    61         MMmMtpDpConfig& aDpConfig );
       
    62 
       
    63 protected:
       
    64     // from CRequestProcessor
       
    65     /**
       
    66     * GetObjectPropsSupported request handler
       
    67     */
       
    68     IMPORT_C void ServiceL();
       
    69 
       
    70 private:
       
    71     CMTPTypeArray* iObjectPropsSupported;
       
    72     MMmMtpDpConfig& iDpConfig;
       
    73     };
       
    74 
       
    75 #endif // CGETOBJECTPROPSSUPPORTED_H