phonesrv_plat/phone_settings_observer_api/inc/MPsetCallWaitingObs.h
changeset 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
-1:000000000000 0:ff3b6d0fd310
       
     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: 
       
    15 *       MPsetCallWaitingObserver abstract call waiting observer class.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef     MPSETCALLWAITINGOBS_H
       
    22 #define     MPSETCALLWAITINGOBS_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <MPsetCallWaiting.h>
       
    26 
       
    27 //  CLASS DEFINITIONS 
       
    28 class   MPsetCallWaitingObserver
       
    29     {
       
    30     public:
       
    31 
       
    32         /**
       
    33         * Handles notes when requesting Call Waiting status.
       
    34         *
       
    35         * @param aStatus Query result.
       
    36         * @param aBsc is List of active groups.
       
    37         */
       
    38         virtual void HandleCallWaitingGetStatusL( 
       
    39             const MPsetCallWaiting::TGetCallWaitingStatus aStatus, 
       
    40             TUint8 aBsc[KPSetNumberOfBsc] ) = 0;
       
    41         
       
    42         /**
       
    43         * Handles notes when Call Waiting has been changed.
       
    44         *
       
    45         * @param aSetting Changed setting.
       
    46         * @param aResult Result of the action.
       
    47         */
       
    48         virtual void HandleCallWaitingChangedL( 
       
    49             const MPsetCallWaiting::TSetCallWaiting aSetting, 
       
    50             const TInt aResult ) = 0;
       
    51 
       
    52         /**
       
    53         * Handles requesting notes.
       
    54         *
       
    55         * @param aStarted Is there a request going on.
       
    56         * @param aInterrupted Request needs to be immediately cancelled.
       
    57         */
       
    58         virtual void HandleCWRequestingL( TBool aOngoing, 
       
    59             TBool aInterrupted ) = 0; 
       
    60         /**
       
    61         * Handles errors in call waiting requests.
       
    62         *
       
    63         * @param aReason Reason for the error.
       
    64         */
       
    65         virtual void HandleCWErrorL( TInt aReason ) = 0;
       
    66 
       
    67         /**
       
    68         * Sets pointer so that message is passed succesfully
       
    69         * from requester to observer.
       
    70         *
       
    71         * @param aEngineContact Source of events to observer.
       
    72         */
       
    73         virtual void SetEngineContact( MPsetCallWaiting& aEngineContact ) = 0;
       
    74 
       
    75     };
       
    76 
       
    77 #endif // MPSETCALLWAITINGOBS_H
       
    78 
       
    79 // end of file