datasourceadaptation/gpsdatasourceadaptation/inc/EPos_CProxyPositioner.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2007-2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CPROXYPOSITIONER_H
       
    21 #define CPROXYPOSITIONER_H
       
    22 
       
    23 #include <lbs/epos_cpositioner.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class TPositionCriteriaBase;
       
    27 class MPosModuleSettingsManager;
       
    28 class MPosModuleStatusManager;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * Base class for all proxy positioners.
       
    34 */
       
    35 class CProxyPositioner : public CPositioner
       
    36     {
       
    37     public:  // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * Destructor.
       
    41         */
       
    42         IMPORT_C virtual ~CProxyPositioner();
       
    43 
       
    44     protected:  // Constructors
       
    45 
       
    46         /**
       
    47         * C++ default constructor.
       
    48         */
       
    49         IMPORT_C CProxyPositioner();
       
    50 
       
    51         /**
       
    52         * Creates the internals of the positioner.
       
    53         *
       
    54         * This function must be called first thing in the proxy
       
    55         *  positioner's * @b ConstructL() method.
       
    56         *
       
    57         *
       
    58         * @param aConstructionParameters The construction parameters supplied
       
    59         *                                in the factory call.
       
    60         */
       
    61         IMPORT_C void BaseConstructL( TAny* aConstructionParameters );
       
    62         
       
    63     public:  
       
    64 
       
    65         /**
       
    66         * Called by the Location Framework to set the position criteria
       
    67         * specified by the client.
       
    68         *
       
    69         * The position criteria object must be cast to the correct
       
    70         * TPositionCriteriaBase subclass.
       
    71         *
       
    72         * @param aPositionCriteria The requested positioning criteria.
       
    73         */
       
    74         IMPORT_C virtual void SetPositionCriteriaL(
       
    75         /* IN  */       const TPositionCriteriaBase& aPositionCriteria
       
    76         );
       
    77         
       
    78     protected:
       
    79         /**
       
    80         * Get pointer to module settings.
       
    81         */
       
    82         IMPORT_C MPosModuleSettingsManager& ModuleSettingsManager() const;
       
    83         
       
    84         /**
       
    85         * Get pointer to module status manager.
       
    86         */
       
    87         IMPORT_C MPosModuleStatusManager& ModuleStatusManager() const;
       
    88 
       
    89     private:
       
    90         MPosModuleStatusManager* iModuleStatusManager;
       
    91         MPosModuleSettingsManager* iModuleSettingsManager;
       
    92         
       
    93         TUint iReserved[8];
       
    94     };  
       
    95 
       
    96 #endif  // CPROXYPOSITIONER_H
       
    97 
       
    98 // End of File