vtengines/videoteleng/Inc/Base/MVtEngAccessoryObserver.h
changeset 0 ed9695c8bcbe
child 8 07d1685f0cd4
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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:  Observer interface for indicating changes in accessories.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MVTENGACCESSORYOBSERVER_H
       
    19 #define MVTENGACCESSORYOBSERVER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include    <e32std.h>
       
    23 #include    <accpolaccessorymode.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *  Interface to indicate changes in accessories.
       
    29 *
       
    30 *  @lib videoteleng
       
    31 *  @since 3.0
       
    32 */
       
    33 class MVtEngAccessoryObserver
       
    34     {
       
    35     public:  // New functions
       
    36 
       
    37         /**
       
    38         * Callback to notify mode change in accessories.
       
    39         * @param aMode new mode 
       
    40         * @param aActivated audio is on 
       
    41         */
       
    42         virtual void AccessoryModeChanged( const TAccMode& aMode, 
       
    43             const TBool aActivated ) = 0;
       
    44     };
       
    45 
       
    46 #endif // MVTENGACCESSORYOBSERVER_H
       
    47 // End of File