mmsharing/livecommsui/lcui/tsrc/mustester/Stubs/sipprofilestub/src/sipprofilealrcontroller.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2002 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:  implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDE FILES
       
    20 
       
    21 #include <sipprofilealrcontroller.h>
       
    22 
       
    23 
       
    24 // CSipProfileAlrController STUB
       
    25 CSipProfileAlrController* CSipProfileAlrController::NewL( 
       
    26     CSIPProfileRegistryBase& aRegistry, 
       
    27     MSipProfileAlrObserver& /*aObserver*/ )
       
    28     {
       
    29     return new( ELeave )CSipProfileAlrController( aRegistry );
       
    30     }
       
    31 
       
    32 CSipProfileAlrController::~CSipProfileAlrController()
       
    33     {
       
    34     }
       
    35 
       
    36 void CSipProfileAlrController::AllowMigrationL(
       
    37     TUint32 /*aProfileId*/,
       
    38     TUint32 aIapId )
       
    39     {
       
    40     delete HBufC::NewL( 1 );
       
    41     //iAllowMigrationCalled = ETrue;
       
    42     //iLastUsedIap = aIapId;
       
    43     }
       
    44 
       
    45 void CSipProfileAlrController::DisallowMigrationL(
       
    46     TUint32 /*aProfileId*/,
       
    47     TUint32 aIapId )
       
    48     {
       
    49     delete HBufC::NewL( 1 );
       
    50     //iDisallowMigrationCalled = ETrue;
       
    51     //iLastUsedIap = aIapId;
       
    52     }
       
    53 
       
    54 void CSipProfileAlrController::RefreshIapAvailabilityL( 
       
    55     TUint32 /*aProfileId*/ )
       
    56     {
       
    57     delete HBufC::NewL( 1 );
       
    58     }
       
    59 
       
    60 CSipProfileAlrController::CSipProfileAlrController( 
       
    61     CSIPProfileRegistryBase& aRegistry )
       
    62     : iRegistry( aRegistry )
       
    63     {
       
    64     }