mtpfws/mtpfw/dataproviders/devdp/devdpextn/inc/cmtpextndevdpplugin.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 #ifndef CMTPEXTNDEVDPPLUGIN_H_
       
    21 #define CMTPEXTNDEVDPPLUGIN_H_
       
    22 
       
    23 #include <mtp/cmtpextndevdp.h>
       
    24 #include <mtp/cmtptypestring.h>
       
    25 #include <mtp/cmtptypedevicepropdesc.h>
       
    26 
       
    27 /*enum TMTPDeviceDpExtnSupportedProperties1 
       
    28 	{
       
    29 	0x5008,
       
    30 	
       
    31 	};*/
       
    32 
       
    33 
       
    34 class CDevDpReferncePlugin : public CMtpExtnDevicePropPlugin
       
    35 {
       
    36 public:
       
    37 	static CDevDpReferncePlugin* NewL();
       
    38 	void  ConstructL();
       
    39 	CDevDpReferncePlugin();
       
    40 	~CDevDpReferncePlugin();
       
    41 	TInt  GetDevPropertyL(const TMTPDevicePropertyCode aPropCode, MMTPType**) ;
       
    42 	TInt GetDevPropertyDescL (const TMTPDevicePropertyCode aPropCode, MMTPType**) ;
       
    43 	TInt GetDevicePropertyContainerL(TMTPDevicePropertyCode aPropCode, MMTPType**) ;
       
    44 	TMTPResponseCode SetDevicePropertyL();
       
    45 	TInt ResetDevPropertyL(const TMTPDevicePropertyCode aPropCode);
       
    46 	void Supported (TMTPSupportCategory aCategory, RArray <TUint>& aArray, TMTPOperationalMode aMode);
       
    47 
       
    48 
       
    49 private:
       
    50 	TMTPTypeUint32* iData;
       
    51 	CMTPTypeDevicePropDesc* iPropDesc;	
       
    52 	TMTPDevicePropertyCode iPropCode;
       
    53 };
       
    54 
       
    55 
       
    56 #endif /*CMTPEXTNDEVDPPLUGIN_H_*/