cellular/telephonysettings/inc/PSetCallDivertingCreator.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     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    <vmnumber.h>
       
    26 #include    <etelmm.h>
       
    27 #include    <nwdefs.h>
       
    28 #include    "MPsetDivertObs.h"
       
    29 #include    "MCallDiverting.h"
       
    30 
       
    31 /**
       
    32 *  Factory class for creating divert related classes.
       
    33 *
       
    34 *  @lib PhoneSettings
       
    35 *  @since 5.1
       
    36 */
       
    37 NONSHARABLE_CLASS( CPSetCallDivertingCreator ): public CBase
       
    38     {
       
    39     public:
       
    40         static MCallDiverting* CreateCallDivertingL( 
       
    41                                             MPsetDivertObserver& aObserver, 
       
    42                                             RMobilePhone& aPhone,
       
    43                                             CPsetCallDiverting* aDivert );
       
    44     private:
       
    45         
       
    46         /**
       
    47         * Check if KTelephonyLVFlagDualActivation is active.
       
    48         */
       
    49         static TBool IsDivertDualAffectFeatureEnabledL();
       
    50     };
       
    51 
       
    52 #endif      // CSETCALLDIVERTINGCREATOR_H
       
    53             
       
    54 // End of File