cellular/telephonysettings/inc/PSetCallDivertingCreator.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2008-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:  Factory for creating divert specific components.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSETCALLDIVERTINGCREATOR_H
       
    20 #define CSETCALLDIVERTINGCREATOR_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <e32base.h>
       
    24 #include    <badesca.h>
       
    25 #include    <etelmm.h>
       
    26 #include    <nwdefs.h>
       
    27 #include    "mpsetdivertobs.h" 
       
    28 #include    "mcalldiverting.h" 
       
    29 
       
    30 /**
       
    31 *  Factory class for creating divert related classes.
       
    32 *
       
    33 *  @lib PhoneSettings
       
    34 *  @since 5.1
       
    35 */
       
    36 NONSHARABLE_CLASS( CPSetCallDivertingCreator ): public CBase
       
    37     {
       
    38     public:
       
    39         static MCallDiverting* CreateCallDivertingL( 
       
    40                                             MPsetDivertObserver& aObserver, 
       
    41                                             RMobilePhone& aPhone,
       
    42                                             CPsetCallDiverting* aDivert );
       
    43     private:
       
    44         
       
    45         /**
       
    46         * Check if KTelephonyLVFlagDualActivation is active.
       
    47         */
       
    48         static TBool IsDivertDualAffectFeatureEnabledL();
       
    49     };
       
    50 
       
    51 #endif      // CSETCALLDIVERTINGCREATOR_H
       
    52             
       
    53 // End of File