mmuifw_plat/alf_widgetutils_api/inc/alf/alftypes.h
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     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:  Type declarations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef ALFTYPES_H
       
    21 #define ALFTYPES_H
       
    22 
       
    23 namespace Alf
       
    24     {
       
    25 struct IfId
       
    26     {
       
    27     unsigned int mIfId;
       
    28     const char*  mImplementationId;
       
    29     };
       
    30     
       
    31 
       
    32 /**
       
    33  * Specfies the result of event processing when an event that 
       
    34  * is offered to an event handler.
       
    35  */
       
    36 enum AlfEventStatus
       
    37     {
       
    38     /**
       
    39      * The event handler did not handle the event.
       
    40      */
       
    41     EEventNotHandled = 0,
       
    42     /**
       
    43      * The event handler handled the event but does not
       
    44      * desire to block the event flow to other interested
       
    45      * entities.
       
    46      */
       
    47     EEventHandled,
       
    48     /**
       
    49      * The event handler consumed the event and wishes to
       
    50      * terminate event flow to other interested enetities.
       
    51      * In other words, the event handler acted as a "filter" 
       
    52      * for the event.
       
    53      */ 
       
    54     EEventConsumed,
       
    55     };
       
    56     }
       
    57 
       
    58 #endif
       
    59 
       
    60 // End of File