upnpframework/upnpcommand/inc/upnpmovetask.h
changeset 0 7f85d04be362
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/upnpframework/upnpcommand/inc/upnpmovetask.h	Thu Dec 17 08:52:00 2009 +0200
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2007 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:  Header file for the CUpnpMoveTask class.
+*
+*/
+
+
+#ifndef UPNP_MOVE_TASK_H
+#define UPNP_MOVE_TASK_H
+
+// INCLUDES
+// System
+#include <e32base.h>
+// upnpcommand internal
+#include "upnpfiletransferbasetask.h"
+
+/**
+* This class defines the CUpnpMoveTask used in UpnpCommand component.
+*
+* @since S60 3.2
+*/
+class CUpnpMoveTask : public CUpnpFileTransferBaseTask
+    {
+    public: // Methods from CUpnpTask
+
+        /**
+         * Creates a new CUpnpMoveTask object. Allocates Upnp Fw resources.
+         * Resources will be released when the task is destroyed.
+         *
+         * @since S60 3.2
+         * @return a new instance of CUpnpMoveTask, casted to type CUpnpTask
+         */
+        static CUpnpTask* NewL();
+
+        /**
+         * Allocates the Upnp Fw resources.
+         *
+         * @since S60 3.2
+         */
+        void AllocateResourcesL();
+
+
+        /**
+         * Executes the task.
+         *
+         * @since S60 3.2
+         */
+        void ExecuteL();
+
+
+
+    public: // Public destructor
+
+        /**
+         * Destructor.
+         */
+        virtual ~CUpnpMoveTask();
+
+    private: // Private construct/destruct methods
+
+        /**
+         * Perform the first phase of two phase construction.
+         *
+         * @since S60 3.2
+         * @return a new instance of CUpnpMoveTask, casted to type CUpnpTask
+         */
+        CUpnpMoveTask();
+
+        /**
+         * Perform the second phase of two phase construction. Reserves the
+         * Upnp Fw resources (they are released when the task is destroyed).
+         */
+        void ConstructL();
+        
+    };
+
+#endif // UPNP_MOVE_TASK_H
+
+// End of File
\ No newline at end of file