radioengine/utils/inc/mradiosystemeventdetectorobserver.h
branchRCL_3
changeset 20 93c594350b9a
parent 19 cce62ebc198e
equal deleted inserted replaced
19:cce62ebc198e 20:93c594350b9a
     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 MRADIOSYSTEMEVENTDETECTOROBSERVER_H
       
    19 #define MRADIOSYSTEMEVENTDETECTOROBSERVER_H
       
    20 
       
    21 // Class declaration
       
    22 /**
       
    23 *
       
    24 *  Observer for the call and network state. Implementer will be notified each time the state has changed
       
    25 */
       
    26 NONSHARABLE_CLASS( MRadioSystemEventDetectorObserver )
       
    27     {
       
    28 public:
       
    29 
       
    30     /**
       
    31     * This callback notifies when networks comes up.
       
    32     */
       
    33     virtual void NetworkUpCallbackL() = 0;
       
    34 
       
    35     /**
       
    36     * This callback notifies when network goes down.
       
    37     */
       
    38     virtual void NetworkDownCallbackL() = 0;
       
    39 
       
    40     /**
       
    41     * This callback notifies when call becomes active.
       
    42     */
       
    43     virtual void CallActivatedCallbackL() = 0;
       
    44 
       
    45     /**
       
    46     * This callback notifies when call becomes deactive.
       
    47     */
       
    48     virtual void CallDeactivatedCallbackL() = 0;
       
    49 
       
    50     /**
       
    51     * This callback notifies when audio resources become available.
       
    52     */
       
    53     virtual void AudioResourcesAvailableL() = 0;
       
    54 
       
    55     /**
       
    56     * This callback notifies when audio auto resuming is forbidden.
       
    57     */
       
    58     virtual void AudioAutoResumeForbiddenL() = 0;
       
    59 
       
    60     /**
       
    61     * This callback notifies when an error occured
       
    62     * @param aError an error code
       
    63     */
       
    64     virtual void ErrorCallbackL( TInt aError ) = 0;
       
    65 
       
    66     };
       
    67 
       
    68 #endif // MRADIOSYSTEMEVENTDETECTOROBSERVER_H
       
    69 
       
    70