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