wvuing/IMPSConnectionUI/OperationStepInc/MCnUiConnModeRewaker.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2004 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 Mode rewaker
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MCNUICONNMODEREWAKER_H
       
    19 #define __MCNUICONNMODEREWAKER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <E32Std.h>
       
    23 #include <impspresenceconnectionuiconstsng.h>
       
    24 
       
    25 
       
    26 
       
    27 //FORWARD DECLARATION
       
    28 class MCnUiClientPlugin;
       
    29 class CPEngNWSessionSlotID2;
       
    30 
       
    31 
       
    32 //DATA TYPES
       
    33 /**
       
    34  * Connection mode rewaker.
       
    35  *
       
    36  * @since 2.1
       
    37  */
       
    38 NONSHARABLE_CLASS( MCnUiConnModeRewaker )
       
    39     {
       
    40 public:     //New functions
       
    41 
       
    42     /**
       
    43      * Adds the new client to AA rewake list.
       
    44      * - Method implementation takes care of
       
    45      *   multiple add's of same client type.
       
    46      *
       
    47      * - Only clients which current login mode
       
    48      * is automatic, are added to AA rewake list.
       
    49      *
       
    50      * @since 2.1
       
    51      * @param aClientPlugin The client to add
       
    52      * AA mode rewake list.
       
    53      */
       
    54     virtual void AddToAAModeRewakeListL( MCnUiClientPlugin& aClientPlugin,
       
    55                                          CPEngNWSessionSlotID2& aNWSessionSlotID ) = 0;
       
    56 
       
    57 
       
    58     /**
       
    59      * Gets all client types currently holded in
       
    60      * AA rewake list.
       
    61      *
       
    62      * @since 2.1
       
    63      * @param aAARewakedClients On the return contains
       
    64      * client's from current AA rewake list.
       
    65      */
       
    66     virtual void GetAARewakeListL( RArray< TIMPSConnectionClient >& aAARewakedClients ) = 0;
       
    67 
       
    68 
       
    69     /**
       
    70      * Resets the AA rewake list.
       
    71      *
       
    72      * @since 2.1
       
    73      */
       
    74     virtual void ClearAARewakeList() = 0;
       
    75 
       
    76 
       
    77     /**
       
    78      * Removes the given client from rewake list.
       
    79      *
       
    80      * @since 2.1
       
    81      * @param aClient The client to remove from rewake list.
       
    82      */
       
    83     virtual void RemoveFromAARewakeList( TIMPSConnectionClient aClient ) = 0;
       
    84 
       
    85 
       
    86 
       
    87 protected:  //Destructor
       
    88 
       
    89     /**
       
    90      * Inline destructor.
       
    91      *
       
    92      * Destruction using this
       
    93      * interface isn't possible.
       
    94      */
       
    95     virtual ~MCnUiConnModeRewaker() {};
       
    96     };
       
    97 
       
    98 
       
    99 #endif      //  __MCNUICONNMODEREWAKER_H
       
   100 
       
   101 //  End of File
       
   102