sipvoipprovider/inc/svppositioningproviderobserver.h
branchRCL_3
changeset 21 f742655b05bf
parent 20 65a3ef1d5bd0
child 22 d38647835c2e
equal deleted inserted replaced
20:65a3ef1d5bd0 21:f742655b05bf
     1 /*
       
     2 * Copyright (c) 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:  Observes positioning provider
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef M_SVPPOSITIONINGPROVIDEROBSERVER_H
       
    20 #define M_SVPPOSITIONINGPROVIDEROBSERVER_H
       
    21 
       
    22 
       
    23 /**
       
    24  *  Observes positioning provider
       
    25  *
       
    26  *  Observes positioning provider whether position information has been 
       
    27  *  acquired or an error has occurred
       
    28  *
       
    29  *  @lib svp.dll
       
    30  *  @since S60 3.2
       
    31  */
       
    32 class MSVPPositioningProviderObserver
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Notifies observer that positioning request has completed successfully
       
    39      *
       
    40      * @since S60 3.2
       
    41      * @param aPosition Acquired position information
       
    42      */
       
    43     virtual void PositioningRequestComplete( const TDesC8& aPosition ) = 0;
       
    44 
       
    45     /**
       
    46      * Notifies observer that positioning request has failed
       
    47      *
       
    48      * @since S60 3.2
       
    49      * @param aError Symbian error code
       
    50      */
       
    51     virtual void PositioningErrorOccurred( TInt aError ) = 0;
       
    52 
       
    53     };
       
    54 
       
    55 
       
    56 #endif // M_SVPPOSITIONINGPROVIDEROBSERVER_H