supl/locationsuplfw/gateway/inc/epos_msuplsessionobserver.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:   Header file for Socket Read
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __MSuplSessionObserver_H__
       
    20 #define __MSuplSessionObserver_H__
       
    21 
       
    22 
       
    23 /**
       
    24 *  MSuplSessionObserver is a an observer  
       
    25 *  
       
    26 *  *  @since Series 60 3.1M //e.g. Series 60 3.0
       
    27 */
       
    28 class MSuplSessionObserver
       
    29     {
       
    30     public:  // Interface methods
       
    31     
       
    32     	/**
       
    33         * HandlePacket.
       
    34         * @since Series 60 3.1M
       
    35         * @param aPacket packet received from the network
       
    36         * @return void *
       
    37         */        
       
    38         virtual void CompleteRunSession(TInt err) = 0;
       
    39         
       
    40     	/**
       
    41         * HandlePacket.
       
    42         * @since Series 60 9.2TB
       
    43         * @param aPacket packet received from the network
       
    44         * @return void *
       
    45         */        
       
    46         virtual void CompleteTriggerRunSession(TInt err) = 0;
       
    47         
       
    48         /**
       
    49         * Complete Request : Completes Get Position Request
       
    50         * @since Series 60 3.1M
       
    51         * @param 
       
    52         * @return void *
       
    53         */        
       
    54         virtual void CompleteGetPositionRequest(const RMessage2& aMessage, TInt err) = 0;
       
    55         
       
    56         /**
       
    57         * Complete Request : Completes Supl Trigger Fired Notification Request
       
    58         * @since Series 60 9.2TB
       
    59         * @param 
       
    60         * @return void *
       
    61         */        
       
    62         virtual void CompleteTriggerFiredNotifyRequest(TInt err) = 0;
       
    63         
       
    64         /** Packs the position Info 
       
    65         */        
       
    66         virtual TInt PackPositionData(const RMessage2& aMessage) = 0;        
       
    67         
       
    68     };
       
    69 
       
    70 #endif      // __MSuplSessionObserver_H__   
       
    71             
       
    72 // End of File