sipvoipprovider/svptransfer/inc/svptransferidlestate.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 idle state
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef SVPTRANSFERIDLESTATE_H
       
    21 #define SVPTRANSFERIDLESTATE_H
       
    22 
       
    23 #include "svptransferstatebase.h"
       
    24 #include "svputdefs.h"
       
    25 
       
    26 /**
       
    27  *  Transfer idle state
       
    28  *
       
    29  *  Handles logic concerning idle state
       
    30  *
       
    31  *  @lib svp.dll
       
    32  *  @since S60 3.2
       
    33  */
       
    34 class CSVPTransferIdleState : public CSVPTransferStateBase
       
    35     {
       
    36 
       
    37 public:
       
    38 
       
    39     /**
       
    40     * Two-phased constructor.
       
    41     */
       
    42     static CSVPTransferIdleState* NewLC();
       
    43     
       
    44     /**
       
    45     * Destructor.
       
    46     */
       
    47     virtual ~CSVPTransferIdleState();
       
    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     CSVPTransferIdleState();
       
    70 
       
    71 private:
       
    72 
       
    73     // For testing
       
    74     SVP_UT_DEFS
       
    75     
       
    76     };
       
    77 
       
    78 #endif // SVPTRANSFERIDLESTATE_H