radioengine/utils/inc/mradioheadseteventobserver.h
branchRCL_3
changeset 19 cce62ebc198e
equal deleted inserted replaced
18:1a6714c53019 19:cce62ebc198e
       
     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 MRADIOHEADSETEVENTOBSERVER_H
       
    19 #define MRADIOHEADSETEVENTOBSERVER_H
       
    20 
       
    21 
       
    22 // Class declaration
       
    23 /**
       
    24 *
       
    25 *  Observer for the Headset button state. Implementer will be notified each time the headset button
       
    26 *  state has changed ( button pressed ).
       
    27 */
       
    28 NONSHARABLE_CLASS( MRadioHeadsetEventObserver )
       
    29     {
       
    30 public:
       
    31 
       
    32     /**
       
    33     * This callback will notify of the Headset to be connected
       
    34     */
       
    35     virtual void HeadsetConnectedCallbackL() = 0;
       
    36 
       
    37     /**
       
    38     * This callback will notify of the Headset to be disconnected
       
    39     */
       
    40     virtual void HeadsetDisconnectedCallbackL() = 0;
       
    41 
       
    42     };
       
    43 
       
    44 #endif // MRADIOHEADSETEVENTOBSERVER_H
       
    45 
       
    46