bearermanagement/S60MCPR/src/s60tmactivities.cpp
changeset 0 5a93021fdf25
equal deleted inserted replaced
-1:000000000000 0:5a93021fdf25
       
     1 /*
       
     2 * Copyright (c) 2008-2009 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: S60 MCPR activities implementation
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19 @file s60mcpractivities.cpp
       
    20 S60 MCPR activities implementation
       
    21 */
       
    22 
       
    23 #include "s60tmactivities.h"
       
    24 
       
    25 using namespace Messages;
       
    26 using namespace MeshMachine;
       
    27 using namespace ESock;
       
    28 using namespace TMActivities;
       
    29 
       
    30 // -----------------------------------------------------------------------------
       
    31 // S60TmProviderActivitySuper
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 namespace S60TmProviderActivitySuper
       
    35 { //Simple parallel activity provider selection, waits untill selection completes (via ISelectionNotify), then gets destroyed
       
    36     DECLARE_DEFINE_CUSTOM_NODEACTIVITY(ECFActivitySelect,
       
    37                                        TMSelectProvider,
       
    38                                        TCFSelector::TSelect,
       
    39                                        CSelectProviderActivity::NewL)
       
    40                                        
       
    41 	FIRST_NODEACTIVITY_ENTRY(TMStates::TAwaitingSelectProviderSuper,
       
    42 	                         MeshMachine::TNoTag)
       
    43 	
       
    44 	NODEACTIVITY_ENTRY(KNoTag,
       
    45 	                   S60TmProviderActivitySuper::TSelectProviderSuper,
       
    46 	                   CoreStates::TNeverAccept,
       
    47 	                   MeshMachine::TNoTag)
       
    48 	
       
    49 	LAST_NODEACTIVITY_ENTRY(KNoTag,
       
    50 	                        MeshMachine::TDoNothing)
       
    51 
       
    52     NODEACTIVITY_END()
       
    53 }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // S60TierManagerActivities - activitymap
       
    57 // -----------------------------------------------------------------------------
       
    58 //
       
    59 namespace S60TierManagerActivities
       
    60 {
       
    61     DEFINE_ACTIVITY_MAP(S60TierManagerMap)
       
    62     ACTIVITY_MAP_ENTRY(S60TmProviderActivitySuper, TMSelectProvider)
       
    63     ACTIVITY_MAP_END_BASE(TMActivities, coreTMActivities)
       
    64 }
       
    65 
       
    66 //  End of File