locsrv_pub/location_triggering_api/inc/lbttriggerfiringeventobserver.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 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:  location triggering server client library
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef LBTTRIGGERFIRINGEVENTOBSERVER_H
       
    21 #define LBTTRIGGERFIRINGEVENTOBSERVER_H
       
    22 
       
    23 
       
    24 #include <lbtcommon.h>
       
    25 
       
    26 /**
       
    27  * The class defines the interface for receiving 
       
    28  * trigger firing event. 
       
    29  *
       
    30  * This interface is used together with class 
       
    31  * CLbtTriggerFiringEventNotifier.
       
    32  *
       
    33  * @lib lbt.lib
       
    34  *
       
    35  * @since S60 5.1
       
    36  */
       
    37 class MLbtTriggerFiringEventObserver
       
    38     {
       
    39 public:
       
    40     /**
       
    41      * This function is called when a trigger(either a session
       
    42      * trigger or a start-up trigger) is fired.
       
    43      *
       
    44      * Note, the leave of this function is trapped and 
       
    45      * ignored in class CLbtTriggerFiringEventNotifier. 
       
    46      * 
       
    47      * @param[out] aFireInfo Contains the fired  
       
    48      * trigger's firing information.
       
    49      */
       
    50     virtual void TriggerFiredL(
       
    51         const TLbtTriggerFireInfo& aFireInfo
       
    52         ) = 0;
       
    53     };
       
    54 
       
    55 #endif //LBTTRIGGERFIRINGEVENTOBSERVER_H