locationsystemui/locationsysui/locsuplsettingsui/inc/locsuplsettingssessionobserver.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     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:  Observer for the SUPL Session
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MLOCSUPLSETTINGSSESSIONOBSERVER_H_
       
    20 #define MLOCSUPLSETTINGSSESSIONOBSERVER_H_
       
    21 
       
    22 // Class Declaration
       
    23 
       
    24 /**
       
    25  * Observer for the SUPL Session. The observer provides callbacks for
       
    26  * any changes in the SUPL session
       
    27  *
       
    28  * @lib locsuplsettings.lib
       
    29  * @since S60 v3.1 
       
    30  */
       
    31 class MLocSUPLSettingsSessionObserver
       
    32     {
       
    33     public:
       
    34         /**
       
    35          * Update type for the Session
       
    36          */
       
    37         enum TUpdateType
       
    38         {
       
    39         // Enum for Session modification.
       
    40         ESessionModified = 0,
       
    41         // Enum for Session deletion.
       
    42         ESessionDeleted
       
    43         };
       
    44     
       
    45     public:
       
    46         	
       
    47         /**
       
    48          * Called when a change has been detected in the SUPL Session 
       
    49          * identified by the session id provided by SessionIdL.
       
    50          * @param aType Type of Updation
       
    51          *
       
    52          */
       
    53         virtual void UpdateSessionL( TUpdateType aType ) = 0;
       
    54         
       
    55         /**
       
    56          * Called when a change has been detected in the SUPL Session.
       
    57          *
       
    58          */
       
    59         virtual TInt64 SessionId( ) = 0;
       
    60 
       
    61     };
       
    62 
       
    63 #endif      // MLOCSUPLSETTINGSSESSIONOBSERVER_H_  
       
    64             
       
    65 // End of File