mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsetobjectprotection.h
changeset 0 d0791faffa3f
child 6 ef55b168cedb
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  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef __CMTPSETOBJECTPROTECTION_H__
       
    22 #define __CMTPSETOBJECTPROTECTION_H__
       
    23 
       
    24 #include <e32std.h> 
       
    25 #include <mtp/cmtpobjectmetadata.h>
       
    26 #include "cmtprequestprocessor.h"
       
    27 #include "rmtpframework.h"
       
    28 #include "rmtpdpsingletons.h"
       
    29 
       
    30 class CMTPTypeString;
       
    31 class TMTPTypeUint8;
       
    32 
       
    33 
       
    34 /** 
       
    35 Defines file data provider SetObjectPropValue request processor
       
    36 
       
    37 @internalTechnology
       
    38 */
       
    39 class CMTPSetObjectProtection : public CMTPRequestProcessor
       
    40     {
       
    41 public:
       
    42     IMPORT_C static MMTPRequestProcessor* NewL(
       
    43                                     MMTPDataProviderFramework& aFramework,
       
    44                                     MMTPConnection& aConnection);   
       
    45     IMPORT_C ~CMTPSetObjectProtection(); 
       
    46     
       
    47 private:    
       
    48     CMTPSetObjectProtection(
       
    49                     MMTPDataProviderFramework& aFramework,
       
    50                     MMTPConnection& aConnection);
       
    51     void ConstructL();
       
    52 
       
    53 private:    //from CMTPRequestProcessor
       
    54     virtual TMTPResponseCode CheckRequestL();
       
    55     virtual void ServiceL();
       
    56 
       
    57 private:
       
    58     RFs&                    iRfs;
       
    59     CMTPObjectMetaData*     iObjMeta;
       
    60     
       
    61     };
       
    62     
       
    63 #endif
       
    64