diff -r 1fc85118c3ae -r 870918037e16 loc_pub/landmarks_ui_selector_api/tsrc/bc/bcapplmkselector/inc/bcapplmkselectorengine.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loc_pub/landmarks_ui_selector_api/tsrc/bc/bcapplmkselector/inc/bcapplmkselectorengine.h Wed Sep 01 12:31:27 2010 +0100 @@ -0,0 +1,101 @@ +/* +* Copyright (c) 2003 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: LandmarksUi Content File - +* +*/ + + + + + + + +#ifndef BCAPPLMKSELECTORENGINE_H +#define BCAPPLMKSELECTORENGINE_H + +// INCLUDES +//#include "BCAppLmkSelectorContainer.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// FORWARD DECLARATIONS + + + +// CLASS DECLARATION + +/* +CBCAppLmkSelectorEngine +*/ + +class CBCAppLmkSelectorEngine : public CBase, public MObjectProvider + { +public: + static CBCAppLmkSelectorEngine* NewL(); + /*~CBCAppLmkSelectorEngine(); + void RunL(); + void DoCancel(); + + void Init(); + void IssueTest(); + + void ExecuteTestCase(); + void SetTestCaseNumber(const TDesC8 &aNumber); +public: + TBuf<15> iText;*/ + +protected: + TTypeUid::Ptr MopSupplyObject(TTypeUid aId); + MObjectProvider* MopNext(); + +private: + CBCAppLmkSelectorEngine(); + /* void ConstructL(CBCAppLmkSelectorContainer* aContainer); + + void ExecuteTestL(); + + void SetTestCase(const TDesC& aHeaderName, const TDesC& aFunctionName); + void Print(const TDesC& aDes); + void Print(const TDesC8& aDes); + void Print(TInt aInt); + void CreateNewLandmark(); +private: + RTimer iTimer; + + CEikonEnv* iEnv; + CBCAppLmkSelectorContainer* iContainer; + + TInt iCurrentTest; + TBool iWarningIssued; + TBool iExecuteAllTests; + TBool iAllTestsDone; + + TBuf<64> iCurrentHeaderName; + TBuf<128> iCurrentFunctionName; + + RWsSession iWs; + CActiveSchedulerWait iWait;*/ + }; + +#endif + +// End of File