diff -r 000000000000 -r 9cfd9a3ee49c locationmgmt/agpslocationmgr/test/test_lbsgpsmodule/inc/LbsLasDataSource.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locationmgmt/agpslocationmgr/test/test_lbsgpsmodule/inc/LbsLasDataSource.h Tue Feb 02 01:50:39 2010 +0200 @@ -0,0 +1,50 @@ +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef LBSLASDATASOURCE_H +#define LBSLASDATASOURCE_H + +//----------------------------------------------------------------------------- +//System +#include + +class MLasDataSourceObserver + { +public: + virtual void HandleData(const TDesC8& aData, TInt aErr) = 0; + }; + +//----------------------------------------------------------------------------- +// CLasDataSource +//----------------------------------------------------------------------------- +class CLasDataSource : public CBase + { +public: + static CLasDataSource* NewL(MLasDataSourceObserver* aObserver); + virtual ~CLasDataSource(); + + virtual void OpenDataSource(); + virtual void CloseDataSource(); + + virtual void MonitorDataSource(); + virtual void CancelMonitor(); + +protected: + virtual void ConstructL(); + CLasDataSource(MLasDataSourceObserver* aObserver); + }; + + +#endif // LBSLASDATASOURCE_H \ No newline at end of file