locationtriggering/ltstrategyengine/inc/lbttriggerstatusobserver.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2006, 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:  Class definition of Trigger Status Observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_LBTTRIGGERSTATUSOBSERVER_H
       
    21 #define C_LBTTRIGGERSTATUSOBSERVER_H
       
    22 
       
    23 
       
    24 /**
       
    25  * This is an observer class that is implemented by CLbtStrategy. This class 
       
    26  * defines a callback method used by the instance of CLbtTriggerView to notify 
       
    27  * trigger fire events when suggested by Strategy Engine. When strategy engine
       
    28  * evaluates the trigger and updates the trigger fired status, trigger view 
       
    29  * reflects these changes in the container and upon successful completion of
       
    30  * the operation on container reports the trigger fire event to CLbtStrategy
       
    31  * which inturn notifies Server Logic
       
    32  *              
       
    33  * @since Series 60 4.0
       
    34  */
       
    35 class MLbtTriggerStatusObsrvr
       
    36 
       
    37     {
       
    38     
       
    39 public:    
       
    40     
       
    41     /**
       
    42      * Reports trigger fire event to the instance of CLbtStrategy
       
    43      */
       
    44     virtual void TriggerFired( CLbtGeoAreaBase::TGeoAreaType aAreaType,TLbtTriggerId aId, 
       
    45                                         const TPositionInfo& aPosInfo ) = 0;
       
    46     
       
    47     };
       
    48 
       
    49 #endif  // C_LBTTRIGGERSTATUSOBSERVER_H