mmappcomponents/mmmtpdataprovider/mmmtpdpplugins/abstractmediamtpdataprovider/inc/cabstractmediamtpdataprovidergetformatcapabilities.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 CABSTRACTMEDIAMTPDATAPROVIDERGETFORMATCAPABILITIES_H
       
    19 #define CABSTRACTMEDIAMTPDATAPROVIDERGETFORMATCAPABILITIES_H
       
    20 
       
    21 #include "cgetformatcapabilities.h"
       
    22 
       
    23 // forward declaration
       
    24 class MMmMtpDpConfig;
       
    25 class CMTPTypeObjectPropDesc;
       
    26 class CMTPTypeInterdependentPropDesc;
       
    27 class CMTPTypeObjectPropDesc;
       
    28 class CMTPTypeString;
       
    29 class CGetFormatCapabilities;
       
    30 
       
    31 /**
       
    32 * Defines abstract media data provider GetFormatCapabilities
       
    33 */
       
    34 class CAbstractMediaMtpDataProviderGetFormatCapabilities : public CGetFormatCapabilities
       
    35     {
       
    36 public:
       
    37 
       
    38     /**
       
    39     * @param aFramework, The data provider framework
       
    40     * @param aConnection, The connection from which the request comes
       
    41     * @param aWrapper Medadata access
       
    42     * @return A pointer to the created request processor object
       
    43     */
       
    44     static MMmRequestProcessor* NewL( MMTPDataProviderFramework& aFramework,
       
    45         MMTPConnection& aConnection,
       
    46         MMmMtpDpConfig& aDpConfig );
       
    47 
       
    48 /*    *
       
    49      * @param aFramework, The data provider framework
       
    50      * @param aConnection, The connection from which the request comes
       
    51      * @param aWrapper Medadata access
       
    52      * @return A pointer to the created request processor object
       
    53 
       
    54     static MMmRequestProcessor* NewLC( MMTPDataProviderFramework& aFramework,
       
    55         MMTPConnection& aConnection,
       
    56         MMmMtpDpConfig& aDpConfig );*/
       
    57 
       
    58     /**
       
    59     * Destructor
       
    60     */
       
    61     ~CAbstractMediaMtpDataProviderGetFormatCapabilities();
       
    62 
       
    63 protected:
       
    64     // from CGetFormatCapabilities, override from baseclass
       
    65 
       
    66     /**
       
    67     * Service specific object property
       
    68     * @param aPropCode, The prop code
       
    69     * @return MTPType object propdesc
       
    70     */
       
    71     CMTPTypeObjectPropDesc* ServiceSpecificPropertyDescL( TUint16 aPropCode );
       
    72 
       
    73     /**
       
    74     * Service interdepent propdesc
       
    75     * @param aFormatCode, The format code
       
    76     * @return MTPTypeInterdependentPropDesc
       
    77     */
       
    78     void ServiceInterdepentPropDescL();
       
    79 
       
    80 private:
       
    81 
       
    82     /**
       
    83     * Standard C++ Constructor
       
    84     * @param aFramework, The data provider framework
       
    85     * @param aConnection, The connection from which the request comes
       
    86     * @param aWrapper Medadata access
       
    87     */
       
    88     CAbstractMediaMtpDataProviderGetFormatCapabilities( MMTPDataProviderFramework& aFramework,
       
    89         MMTPConnection& aConnection,
       
    90         MMmMtpDpConfig& aDpConfig );
       
    91 
       
    92     /**
       
    93     * two-phase construction
       
    94     */
       
    95     void ConstructL();
       
    96     };
       
    97 
       
    98 #endif // CAbstractMediaMTPDATAPROVIDERGETFORMATCAPABILITIES_H