mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsetobjectprotection.h
changeset 0 d0791faffa3f
child 6 ef55b168cedb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsetobjectprotection.h	Tue Feb 02 01:11:40 2010 +0200
@@ -0,0 +1,64 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+ @internalTechnology
+*/
+
+#ifndef __CMTPSETOBJECTPROTECTION_H__
+#define __CMTPSETOBJECTPROTECTION_H__
+
+#include <e32std.h> 
+#include <mtp/cmtpobjectmetadata.h>
+#include "cmtprequestprocessor.h"
+#include "rmtpframework.h"
+#include "rmtpdpsingletons.h"
+
+class CMTPTypeString;
+class TMTPTypeUint8;
+
+
+/** 
+Defines file data provider SetObjectPropValue request processor
+
+@internalTechnology
+*/
+class CMTPSetObjectProtection : public CMTPRequestProcessor
+    {
+public:
+    IMPORT_C static MMTPRequestProcessor* NewL(
+                                    MMTPDataProviderFramework& aFramework,
+                                    MMTPConnection& aConnection);   
+    IMPORT_C ~CMTPSetObjectProtection(); 
+    
+private:    
+    CMTPSetObjectProtection(
+                    MMTPDataProviderFramework& aFramework,
+                    MMTPConnection& aConnection);
+    void ConstructL();
+
+private:    //from CMTPRequestProcessor
+    virtual TMTPResponseCode CheckRequestL();
+    virtual void ServiceL();
+
+private:
+    RFs&                    iRfs;
+    CMTPObjectMetaData*     iObjMeta;
+    
+    };
+    
+#endif
+