satengine/SatServer/Commands/SendSSCmd/inc/csatsendssdivertnouiobs.h
changeset 46 2fa1fa551b0b
parent 42 35488577e233
child 48 78df25012fda
equal deleted inserted replaced
42:35488577e233 46:2fa1fa551b0b
     1 /*
       
     2 * Copyright (c) 2002-2006 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:  Implements the MPsetDivertObserver observer.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSATSENDSSDIVERTNOUIOBS_H
       
    20 #define CSATSENDSSDIVERTNOUIOBS_H
       
    21 
       
    22 #include <mpsetdivertobs.h>
       
    23 
       
    24 /**
       
    25 *  Implements MPsetDivertObserver and gets notifications of
       
    26 *  the diverting process
       
    27 *
       
    28 *  @lib SendSsCmd
       
    29 *  @since S60 v3.1
       
    30 */
       
    31 class CSatSendSsDivertNoUiObs : public CBase,
       
    32                                 public MPsetDivertObserver
       
    33     {
       
    34 public:
       
    35 
       
    36     /**
       
    37      * C++ default constructor.
       
    38      */
       
    39     CSatSendSsDivertNoUiObs();
       
    40 
       
    41     /**
       
    42      * Destructor.
       
    43      */
       
    44     ~CSatSendSsDivertNoUiObs();
       
    45 
       
    46     /**
       
    47      * From MPsetDivertObserver, handles diverting changed.
       
    48      * @param aSetting identifies the cf setting.
       
    49      * @param aPlural indicates that operation affected several bscs.
       
    50      */
       
    51     void HandleDivertingChangedL(
       
    52         const TCallDivertSetting& aSetting,
       
    53         TBool aPlural );
       
    54 
       
    55     /**
       
    56      * From MPsetDivertObserver, handles diverting status.
       
    57      * @param aBsc array of Bscs
       
    58      * @param aSetting identifies the cf setting.
       
    59      * @param aPlural indicates that operation affects several bscs.
       
    60      */
       
    61     void HandleDivertingStatusL(
       
    62         CMobilePhoneCFList& aSetting,
       
    63         TBool aPlural );
       
    64 
       
    65     /**
       
    66      * From MPsetDivertObserver, handles diverting error.
       
    67      * @param aReason identifies the reason for error.
       
    68      */
       
    69     void HandleDivertingErrorL( TInt aReason );
       
    70 
       
    71     /**
       
    72      * HandleCFRequestingL-function handles requesting notes.
       
    73      * @param aOngoing defines whether or not there is a request going on.
       
    74      * @param aInterrupted if ETrue, means that notemaster should be
       
    75      *                     immediately deleted.
       
    76      */
       
    77     void HandleCFRequestingL( TBool aOngoing, TBool aInterrupted );
       
    78 
       
    79     /**
       
    80      * SetEngineContact-function sets engine contact for observer
       
    81      * @param aDivertEngine is the contact.
       
    82      */
       
    83     void SetEngineContact( MPsetCallDiverting* aDivertEngine );
       
    84     };
       
    85 
       
    86 #endif //CSATSENDSSDIVERTNOUIOBS_H