landmarks/locationlandmarks/localaccess/inc/EPos_MPosLmLocalInternalOpExecutor.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 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: Interface for operations that executes an internal operation.
       
    15 *
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MPOSLMLOCALINTERNALOPEXECUTOR_H
       
    21 #define MPOSLMLOCALINTERNALOPEXECUTOR_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 /**
       
    29 * Interface for operations that executes an internal operation.
       
    30 *
       
    31 * CPosLmLocalInternalOpActive uses this interface to tell the executor when
       
    32 * an asynchronous step of the internal operation has completed.
       
    33 */
       
    34 class MPosLmLocalInternalOpExecutor
       
    35     {
       
    36 
       
    37      public:  // New functions
       
    38 
       
    39         /**
       
    40         * Callback function, which tells when an asynchronous step of the
       
    41         * internal operation is completed.
       
    42         *
       
    43         * @param aStatus Internal operation complete status.
       
    44         * @param aProgress Internal operation progress.
       
    45         * @param aClientStatus Client request status.
       
    46         * @param aClientProgress Client progress.
       
    47         */
       
    48         virtual void InternalOpCompleted(
       
    49         /* IN */        TInt aStatus,
       
    50         /* IN */        TReal32 aProgress,
       
    51         /* IN/OUT */    TRequestStatus& aClientStatus,
       
    52         /* IN/OUT */    TReal32& aClientProgress
       
    53         ) = 0;
       
    54 
       
    55     };
       
    56 
       
    57 #endif      // MPOSLMLOCALINTERNALOPEXECUTOR_H
       
    58 
       
    59 // End of File