emailuis/uicomponents/inc/fstriggeredcomponent.h
branchRCL_3
changeset 25 3533d4323edc
parent 0 8466d47a6819
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Interface of triggered comoponent.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_FSTRIGGEREDCOMPONENT_H
       
    20 #define M_FSTRIGGEREDCOMPONENT_H
       
    21 
       
    22 /**
       
    23  *  Interface for triggered component.
       
    24  * This interface should be implemented by every component which wants
       
    25  * to be opened when button to which it is connected is pressed.
       
    26  *
       
    27  *  @code
       
    28  *
       
    29  *  @endcode
       
    30  *
       
    31  *  @lib fs_generic.lib
       
    32  */
       
    33 NONSHARABLE_CLASS( MFsTriggeredComponent )
       
    34     {
       
    35 public:
       
    36     /**
       
    37      * Invoked when button to which comonent is attached is pressed.
       
    38      */
       
    39     virtual void OpenComponent() = 0;
       
    40     };
       
    41 
       
    42 #endif // M_FSTRIGGEREDCOMPONENT_H