upnpframework/upnpcommand/inc/upnpmovetask.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Header file for the CUpnpMoveTask class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef UPNP_MOVE_TASK_H
       
    20 #define UPNP_MOVE_TASK_H
       
    21 
       
    22 // INCLUDES
       
    23 // System
       
    24 #include <e32base.h>
       
    25 // upnpcommand internal
       
    26 #include "upnpfiletransferbasetask.h"
       
    27 
       
    28 /**
       
    29 * This class defines the CUpnpMoveTask used in UpnpCommand component.
       
    30 *
       
    31 * @since S60 3.2
       
    32 */
       
    33 class CUpnpMoveTask : public CUpnpFileTransferBaseTask
       
    34     {
       
    35     public: // Methods from CUpnpTask
       
    36 
       
    37         /**
       
    38          * Creates a new CUpnpMoveTask object. Allocates Upnp Fw resources.
       
    39          * Resources will be released when the task is destroyed.
       
    40          *
       
    41          * @since S60 3.2
       
    42          * @return a new instance of CUpnpMoveTask, casted to type CUpnpTask
       
    43          */
       
    44         static CUpnpTask* NewL();
       
    45 
       
    46         /**
       
    47          * Allocates the Upnp Fw resources.
       
    48          *
       
    49          * @since S60 3.2
       
    50          */
       
    51         void AllocateResourcesL();
       
    52 
       
    53 
       
    54         /**
       
    55          * Executes the task.
       
    56          *
       
    57          * @since S60 3.2
       
    58          */
       
    59         void ExecuteL();
       
    60 
       
    61 
       
    62 
       
    63     public: // Public destructor
       
    64 
       
    65         /**
       
    66          * Destructor.
       
    67          */
       
    68         virtual ~CUpnpMoveTask();
       
    69 
       
    70     private: // Private construct/destruct methods
       
    71 
       
    72         /**
       
    73          * Perform the first phase of two phase construction.
       
    74          *
       
    75          * @since S60 3.2
       
    76          * @return a new instance of CUpnpMoveTask, casted to type CUpnpTask
       
    77          */
       
    78         CUpnpMoveTask();
       
    79 
       
    80         /**
       
    81          * Perform the second phase of two phase construction. Reserves the
       
    82          * Upnp Fw resources (they are released when the task is destroyed).
       
    83          */
       
    84         void ConstructL();
       
    85         
       
    86     };
       
    87 
       
    88 #endif // UPNP_MOVE_TASK_H
       
    89 
       
    90 // End of File