mtpfws/mtpfw/dataproviders/devdp/inc/cmtpresetdevice.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 CMTPRESETDEVICE_H
       
    22 #define CMTPRESETDEVICE_H
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 #include "rmtpframework.h"
       
    26 
       
    27 /** 
       
    28 Implements the device data provider ResetDevice request processor
       
    29 @internalComponent
       
    30 */
       
    31 class CMTPResetDevice : public CMTPRequestProcessor
       
    32     {
       
    33 public:
       
    34 
       
    35     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);    
       
    36     ~CMTPResetDevice();
       
    37 
       
    38 private: // From CMTPRequestProcessor
       
    39 	TMTPResponseCode CheckRequestL();
       
    40     void ServiceL();
       
    41         
       
    42 private:
       
    43     
       
    44     CMTPResetDevice(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    45     void ConstructL();
       
    46     
       
    47 private:
       
    48 
       
    49     RMTPFramework iSingletons;
       
    50     };
       
    51     
       
    52 #endif // CMTPRESETDEVICE_H
       
    53