mtpfws/mtpfw/dataproviders/devdp/inc/cmtpresetdevicepropvalue.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 CMTPRESETDEVICEPROPVALUE_H
       
    22 #define CMTPRESETDEVICEPROPVALUE_H
       
    23 
       
    24 #include "cmtpgetdevicepropdesc.h"
       
    25 #include "mtpdebug.h"
       
    26 
       
    27 class CMTPTypeString;
       
    28 /** 
       
    29 Implements the device data provider SetDevicePropValue request processor.
       
    30 @internalComponent
       
    31 */
       
    32 class CMTPResetDevicePropValue : public CMTPRequestProcessor
       
    33     {
       
    34     
       
    35 public:
       
    36 
       
    37     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);    
       
    38     ~CMTPResetDevicePropValue();    
       
    39 
       
    40      
       
    41 private:    
       
    42 
       
    43     CMTPResetDevicePropValue(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    44     void ConstructL();
       
    45   
       
    46 
       
    47 
       
    48 private: // From CMTPRequestProcessor
       
    49     
       
    50     TMTPResponseCode CheckRequestL();
       
    51 
       
    52     void ServiceL();
       
    53     void HandleExtnServiceL(TInt aPropCode, MExtnDevicePropDp* aExtnDevplugin);
       
    54 //	void DoCancel();
       
    55 //	void RunL();    
       
    56 	void ServiceSessionInitiatorVersionInfoL();
       
    57 	void ServicePerceivedDeviceTypeL();
       
    58 	void ServiceDateTimeL();
       
    59 	void ServiceDeviceIconL();
       
    60 	void ServiceSupportedFormatsOrderedL();
       
    61 	void ServiceFunctionalIDL();
       
    62 	void ServiceModelIDL();
       
    63 	void ServiceUseDeviceStageL();
       
    64 	
       
    65 private:
       
    66     TMTPTypeGuid* GetGUIDL( const TUint aKey);
       
    67     void SaveGUID( const TUint aKey, TMTPTypeGuid& aValue );
       
    68 
       
    69 private: // Owned
       
    70 
       
    71     /**
       
    72     FLOGGER debug trace member variable.
       
    73     */
       
    74     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    75 
       
    76 //    CMTPTypeString* iString;
       
    77     TUint32                 iPropCode;
       
    78     TMTPTypeGuid*           iData;
       
    79     RMTPDeviceDpSingletons  iDpSingletons;  
       
    80     CRepository*            iRepository;
       
    81     };
       
    82     
       
    83 #endif // CMTPResetDevicePropValue_H
       
    84