mtpfws/mtpfw/dataproviders/devdp/inc/cmtpdevrequestunknown.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 CMTPDEVREQUESTUNKNOWN_H
       
    22 #define CMTPDEVREQUESTUNKNOWN_H
       
    23 
       
    24 #include <mtp/cmtptypeinterdependentpropdesc.h>
       
    25 #include "cmtprequestunknown.h"
       
    26 #include "rmtpframework.h"
       
    27 
       
    28 /** 
       
    29 Implements the device data provider default request processor. MTP requests 
       
    30 which cannot be dispatched to a suitable data provider are routed to the 
       
    31 device data provider.
       
    32 @internalComponent
       
    33 */
       
    34 class CMTPDevRequestUnknown : public CMTPRequestUnknown
       
    35     {
       
    36 public:
       
    37     
       
    38     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);    
       
    39     ~CMTPDevRequestUnknown();
       
    40 
       
    41 private: // From CMTPRequestProcessor
       
    42 
       
    43     void ServiceL();
       
    44     void ServiceInterdependentPropDescL();
       
    45 
       
    46 private:    
       
    47     
       
    48     CMTPDevRequestUnknown(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    49     void ConstructL();
       
    50 	
       
    51 private:
       
    52 	
       
    53 	CMTPTypeInterdependentPropDesc* iDataSet;
       
    54     RMTPFramework iSingletons;
       
    55     };
       
    56     
       
    57 #endif // CMTPDEVREQUESTUNKNOWN_H
       
    58