wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/abs_core_event_handler.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     1 /*
       
     2 * Copyright (c) 2005-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 the License "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 for operations registered as event handlers
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef ABS_CORE_EVENT_HANDLER_H
       
    20 #define ABS_CORE_EVENT_HANDLER_H
       
    21 
       
    22 #include "am_platform_libraries.h"
       
    23 #include "core_types.h"
       
    24 
       
    25 /**
       
    26  * Abstract interface for operations wanting to handle events themselves.
       
    27  *
       
    28  * @since S60 v3.1
       
    29  */
       
    30 class abs_core_event_handler_c
       
    31     {
       
    32 public:
       
    33 
       
    34     /**
       
    35      * Destructor.
       
    36      */
       
    37     virtual ~abs_core_event_handler_c() {};
       
    38 
       
    39     /**
       
    40      * Called by the core server when an indication has been received.
       
    41      *
       
    42      * @since S60 v3.1
       
    43      * @param indication Adaptation layer event.
       
    44      * @return true_t if the indication was handled, false_t if not handled.
       
    45      */
       
    46     virtual bool_t notify(
       
    47         core_am_indication_e indication ) = 0;
       
    48 
       
    49     };
       
    50 
       
    51 #endif // ABS_CORE_EVENT_HANDLER_H