sipvoipprovider/svptransfer/inc/svptransferterminatedstate.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2006-2008 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:  Transfer state representing the terminated state
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SVPTRANSFERTERMINATEDSTATE_H
       
    21 #define SVPTRANSFERTERMINATEDSTATE_H
       
    22 
       
    23 #include "svptransferstatebase.h"
       
    24 #include "svputdefs.h"
       
    25 
       
    26 /**
       
    27  *  Transfer terminated state
       
    28  *
       
    29  *  Handles logic concerning terminated state
       
    30  *
       
    31  *  @lib svp.dll
       
    32  *  @since S60 3.2
       
    33  */
       
    34 class CSVPTransferTerminatedState : public CSVPTransferStateBase
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39     /**
       
    40     * Two-phased constructor.
       
    41     */
       
    42     static CSVPTransferTerminatedState* NewLC();
       
    43     
       
    44     /**
       
    45     * Destructor.
       
    46     */
       
    47     virtual ~CSVPTransferTerminatedState();
       
    48 
       
    49 protected:
       
    50 
       
    51 // from base class CSVPTransferStateBase
       
    52     
       
    53     /**
       
    54     * From CSVPTransferStateBase. Apply concrete state.
       
    55     */
       
    56     void DoApplyL( CSVPTransferStateContext& aContext );
       
    57 
       
    58     /**
       
    59     * From CSVPTransferStateBase. Called when the state is entered.
       
    60     */
       
    61     void DoEnter( CSVPTransferStateContext& aContext );
       
    62 
       
    63 
       
    64 private:
       
    65 
       
    66     /**
       
    67     * C++ default constructor.
       
    68     */
       
    69     CSVPTransferTerminatedState();
       
    70 
       
    71 
       
    72 private:
       
    73 
       
    74     // For testing
       
    75     SVP_UT_DEFS
       
    76 		
       
    77     };
       
    78 
       
    79 #endif // SVPTRANSFERTERMINATEDSTATE_H