lbsapitest/lbshaitest/lbsclient/lbsapi/inc/T_RPositionServerData.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2005-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 #ifndef T_RPOSITIONSERVERDATA_H
       
    20 #define T_RPOSITIONSERVERDATA_H
       
    21 
       
    22 //User Includes
       
    23 #include "datawrapperbase.h"
       
    24 
       
    25 //Epoc Includes
       
    26 #include <lbs.h>
       
    27 
       
    28 class CT_RPositionServerData : public CDataWrapperBase
       
    29 	{
       
    30 public:
       
    31 	~CT_RPositionServerData();
       
    32 	static	CT_RPositionServerData* NewL();
       
    33 	virtual TAny* GetObject();
       
    34 	virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex);
       
    35 	CT_RPositionServerData();
       
    36 	
       
    37 private:
       
    38 	void ConstructL();
       
    39 	void DestroyData();
       
    40 	
       
    41 protected:
       
    42 	void DoCmdConnect();
       
    43 	void DoCmdClose();
       
    44 	void DoCmdGetModuleInfoByIndex();
       
    45 	void DoCmdGetModuleStatus(const TTEFSectionName& aSection);
       
    46 
       
    47 private:
       
    48 	RPositionServer iPositionServer;
       
    49 	TPositionModuleId iPositionModuleId;
       
    50 	};
       
    51 
       
    52 
       
    53 #endif //T_RPOSITIONSERVERDATA_H
       
    54