locationtriggering/ltstrategypluginapi/inc/lbttriggeringsupervisionobserver.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: Interface for communicating triggering events to
       
    15 * the location triggering server
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_LBTTRIGGERINGSUPERVISIONOBSERVER_H
       
    22 #define M_LBTTRIGGERINGSUPERVISIONOBSERVER_H
       
    23 
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <lbs.h>
       
    27 #include <lbtcommon.h>
       
    28 
       
    29 #include "lbtstrategytriggeringsystemstatus.h"
       
    30 #include "lbtstrategytriggeringsupervisionsettings.h"
       
    31 
       
    32 
       
    33 /**
       
    34  * This is an observer class that is implemented by the location triggering 
       
    35  * server logic. This class defines the set of callback methods used by the
       
    36  * strategy plugin to inform server logic about triggering events.
       
    37  *              
       
    38  *  @since Series 60 4.0
       
    39  */
       
    40 class MLbtTriggeringSupervisionObserver
       
    41 
       
    42     {
       
    43     
       
    44 public:
       
    45 
       
    46    /**
       
    47     * Reports a trigger firing event
       
    48     *
       
    49     * @returns @p TReal
       
    50     */
       
    51    virtual void TriggerFiredL( CLbtGeoAreaBase::TGeoAreaType aAreaType,TLbtTriggerId aId, 
       
    52         						const TPositionInfo& aPosInfo ) = 0;
       
    53    
       
    54    /**
       
    55     * Reports Triggering system status
       
    56     *
       
    57     * @returns @p TReal
       
    58     */
       
    59    virtual void SetTriggeringSupervisionDynamicInfo( 
       
    60    			const TLbtStrategySupervisionDynamicInfo& aStatus ) = 0;
       
    61    
       
    62    /**
       
    63     * Retrieves triggering supervision settings from server
       
    64     */
       
    65    virtual void GetTriggeringSupervisionSettings( 
       
    66  			TLbtStrategyTriggeringSupervisionSettings& aSettings ) = 0;
       
    67    		
       
    68     };
       
    69 
       
    70 #endif // M_LBTTRIGGERINGSUPERVISIONOBSERVER_H