cellular/telephonysettings/xqbindings/psetwrapper/src/psetcallwaitingwrapper_p.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /*
       
     2  * Copyright (c) 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:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef PSETCALLWAITINGWRAPPER_P_H_
       
    19 #define PSETCALLWAITINGWRAPPER_P_H_
       
    20 
       
    21 #include <mpsetcallwaitingobs.h>
       
    22 
       
    23 // Forward declarations
       
    24 class PSetCallWaitingWrapper;
       
    25 
       
    26 class PSetCallWaitingWrapperPrivate: 
       
    27     public MPsetCallWaitingObserver
       
    28 {
       
    29 public:
       
    30     
       
    31     PSetCallWaitingWrapperPrivate( PSetCallWaitingWrapper &owner );
       
    32     
       
    33     ~PSetCallWaitingWrapperPrivate();
       
    34         
       
    35 public: // From MPsetCallWaitingObserver
       
    36     
       
    37     /**
       
    38     * Handles notes when requesting Call Waiting status.
       
    39     *
       
    40     * @param aStatus Query result.
       
    41     * @param aBsc is List of active groups.
       
    42     */
       
    43     void HandleCallWaitingGetStatusL( 
       
    44         const MPsetCallWaiting::TGetCallWaitingStatus aStatus, 
       
    45         TUint8 aBsc[KPSetNumberOfBsc] );
       
    46     
       
    47     /**
       
    48     * Handles notes when Call Waiting has been changed.
       
    49     *
       
    50     * @param aSetting Changed setting.
       
    51     * @param aResult Result of the action.
       
    52     */
       
    53     void HandleCallWaitingChangedL( 
       
    54         const MPsetCallWaiting::TSetCallWaiting aSetting, 
       
    55         const TInt aResult );
       
    56 
       
    57     /**
       
    58     * Handles requesting notes.
       
    59     *
       
    60     * @param aStarted Is there a request going on.
       
    61     * @param aInterrupted Request needs to be immediately cancelled.
       
    62     */
       
    63     void HandleCWRequestingL( TBool aOngoing, 
       
    64         TBool aInterrupted ); 
       
    65     /**
       
    66     * Handles errors in call waiting requests.
       
    67     *
       
    68     * @param aReason Reason for the error.
       
    69     */
       
    70     void HandleCWErrorL( TInt aReason );
       
    71 
       
    72     /**
       
    73     * Sets pointer so that message is passed succesfully
       
    74     * from requester to observer.
       
    75     *
       
    76     * @param aEngineContact Source of events to observer.
       
    77     */
       
    78     void SetEngineContact( MPsetCallWaiting& aEngineContact );
       
    79 
       
    80 private: // Data: 
       
    81     PSetCallWaitingWrapper &m_Owner;
       
    82 
       
    83 };
       
    84 
       
    85 
       
    86 #endif /* PSETCALLWAITINGWRAPPER_P_H_ */