presadap12/impsplugin/inc/impsstatehandlerbase.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Connection Manager have different states
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MConnectionManagerStateHandlerBase_H__
       
    19 #define __MConnectionManagerStateHandlerBase_H__
       
    20 
       
    21 
       
    22 #include "impsconnectionmanagercontrolif.h"
       
    23 
       
    24 
       
    25 /**
       
    26  * ?one_line_short_description
       
    27  *
       
    28  * ?more_complete_description
       
    29  *
       
    30  * @lib ?library
       
    31  * @since S60 v4.0
       
    32  */
       
    33 class MConnectionManagerStateHandlerBase
       
    34     {
       
    35 
       
    36     public:
       
    37 
       
    38         /**
       
    39          * ?description
       
    40          *
       
    41          * @since S60 3.2
       
    42          * @return TBool Return value tells if there's still substates to advance
       
    43          *               to in this state handler.
       
    44          */
       
    45         virtual TBool AdvanceState() = 0;
       
    46 
       
    47 
       
    48         /**
       
    49          * ?description
       
    50          *
       
    51          * @since S60 3.2
       
    52          * @return TBool Return value tells if SetActive needs to be called for this
       
    53          *               state.
       
    54          */
       
    55         virtual void ActivateStateL() = 0;
       
    56 
       
    57 
       
    58         virtual void DeleteStateD() = 0;
       
    59 
       
    60 
       
    61         virtual TInt StateIndex() = 0;
       
    62 
       
    63 
       
    64     protected:
       
    65 
       
    66         /**
       
    67          * Protected destructor.
       
    68          * Instancies can't be destroyed via this interface.
       
    69          */
       
    70         virtual ~MConnectionManagerStateHandlerBase() {}
       
    71 
       
    72     };
       
    73 
       
    74 
       
    75 #endif // MConnectionManagerStateHandlerBase
       
    76 
       
    77