internetradio2.0/uiinc/irheadseteventobserver.h
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     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 *     Accessory detection component for Internet Radio application
       
    16 *
       
    17 */
       
    18 /*
       
    19 * ============================================================================
       
    20 *  Name     : IRHeadsetEventObserver.h
       
    21 *  Part of  : 
       
    22 *  Origin   : Internet Radio, Nokia
       
    23 *  Created  : 
       
    24 *  Description:
       
    25 *     Accessory detection component for Internet Radio application
       
    26 *  Version  :
       
    27 *  
       
    28 *  ---------------------------------------------------------------------------
       
    29 *  
       
    30 /** @file IRHeadsetEventObserver.h */
       
    31 
       
    32 #ifndef MIRHEADSETEVENTOBSERVER_H
       
    33 #define MIRHEADSETEVENTOBSERVER_H
       
    34 
       
    35 
       
    36 // CLASS DECLARATION
       
    37 /**
       
    38 *  
       
    39 *  Observer for the Headset button state. Implementer will be notified each time the headset button
       
    40 *  state has changed (button pressed).
       
    41 */
       
    42 class MIRHeadsetEventObserver 
       
    43     {
       
    44 
       
    45     public: // New functions
       
    46 
       
    47 		/**
       
    48 		* This callback will notify of the Headset to be connected
       
    49 		*/        
       
    50         virtual void HeadsetConnectedCallbackL() = 0;
       
    51 
       
    52 		/**
       
    53 		* This callback will notify of the Headset to be disconnected
       
    54 		*/
       
    55 		virtual void HeadsetDisconnectedCallbackL() = 0;
       
    56     };
       
    57 
       
    58 #endif      // MIRHEADSETEVENTOBSERVER_H
       
    59             
       
    60 // End of File