fmradio/fmradio/inc/fmradioidlecontrolinterface.h
changeset 0 f3d95d9c00ab
equal deleted inserted replaced
-1:000000000000 0:f3d95d9c00ab
       
     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:  Declares an interface for handling the media idle components
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef FMRADIOIDLECONTROLINTERFACE_H_
       
    19 #define FMRADIOIDLECONTROLINTERFACE_H_
       
    20 
       
    21 /*
       
    22  * Interface for handling the media idle components.
       
    23  * Media idle visuals are controlled solely through this interface.
       
    24  */
       
    25 class MFMRadioIdleControlInterface
       
    26     {
       
    27     public:
       
    28         /*
       
    29          * Show the component with fade in 
       
    30          */
       
    31         virtual void Show() = 0;
       
    32         
       
    33         /*
       
    34          * Hide the component with fade out
       
    35          */
       
    36         virtual void Hide() = 0;
       
    37         
       
    38         /*
       
    39          * Deactivates control. Used for example
       
    40          * foreground and background events. 
       
    41          */
       
    42         virtual void Deactivate() = 0;
       
    43     };
       
    44 
       
    45 
       
    46 #endif /* FMRADIOIDLECONTROLINTERFACE_H_ */