mtpfws/mtpfw/dataproviders/devdp/inc/cmtpgetdevicepropvalue.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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 
       
    21 #ifndef CMTPGETDEVICEPROPVALUE_H
       
    22 #define CMTPGETDEVICEPROPVALUE_H
       
    23 
       
    24 #include "cmtpgetdevicepropdesc.h"
       
    25 
       
    26 class CMTPTypeString;
       
    27 class TMTPTypeUint8;
       
    28 
       
    29 /** 
       
    30 Implements the device data provider GetDevicePropValue request processor.
       
    31 @internalComponent
       
    32 */
       
    33 class CMTPGetDevicePropValue : public CMTPGetDevicePropDesc
       
    34     {
       
    35     
       
    36 public:
       
    37 
       
    38     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);    
       
    39     ~CMTPGetDevicePropValue();    
       
    40     
       
    41 private:    
       
    42 
       
    43     CMTPGetDevicePropValue(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    44     void ConstructL();
       
    45     
       
    46 private: // From CMTPGetDevicePropDesc
       
    47 
       
    48     void ServiceBatteryLevelL();
       
    49     void ServiceDeviceFriendlyNameL();
       
    50     void ServiceSynchronisationPartnerL();   
       
    51     void ServiceSessionInitiatorVersionInfoL();
       
    52     void ServicePerceivedDeviceTypeL();	
       
    53     void ServiceDateTimeL();
       
    54     void ServiceDeviceIconL();
       
    55     void ServiceSupportedFormatsOrderedL();
       
    56     void ServiceFunctionalIDL();
       
    57     void ServiceModelIDL();
       
    58     void ServiceUseDeviceStageL();
       
    59    void HandleExtnServiceL(TInt aPropCode, MExtnDevicePropDp* aExtnDevplugin);  //2113
       
    60 
       
    61 private: // Owned
       
    62 
       
    63     /**
       
    64     FLOGGER debug trace member variable.
       
    65     */
       
    66     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    67 
       
    68     TMTPTypeUint8   iBatteryLevel;
       
    69     TMTPTypeUint32 iUint32;	
       
    70     CMTPTypeString* iString;
       
    71     TMTPTypeUint8   iUint8;	
       
    72     TMTPTypeGuid*   iData;
       
    73     /*
       
    74     ownership of this pointer is belongs to devicedatastore so should not 
       
    75     delete this pointer.
       
    76     */
       
    77     const CMTPTypeArray* iMtpArray; 	
       
    78     };
       
    79     
       
    80 #endif // CMTPGETDEVICEPROPVALUE_H
       
    81