common/tools/ats/smoketest/lbs/lbstestutils/inc/ctlbsasyncwaiter.h
changeset 748 e13acd883fbe
child 872 17498133d9ad
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/smoketest/lbs/lbstestutils/inc/ctlbsasyncwaiter.h	Tue Nov 10 13:50:58 2009 +0000
@@ -0,0 +1,53 @@
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file ctlbsasyncwaiter.h
+// This is the header file for CT_LbsAsyncWaiter 
+// 
+//
+
+
+
+/**
+ @file
+ @internalTechnology
+ @test
+*/
+
+#ifndef __CT_LBS_ASYNC_WAITER_H__
+#define __CT_LBS_ASYNC_WAITER_H__
+
+//epoc includes
+#include <e32base.h>
+
+// Implements functions related to active objects
+class CT_LbsAsyncWaiter : public CActive
+	{
+public:
+	IMPORT_C static CT_LbsAsyncWaiter* NewL();
+	~CT_LbsAsyncWaiter();
+
+	IMPORT_C void StartAndWait();
+	IMPORT_C TInt Result() const;
+
+private:
+	CT_LbsAsyncWaiter();
+	// from CActive
+	virtual void RunL();
+	virtual void DoCancel();
+
+private:
+	TInt iError;
+	};
+
+#endif // __CT_LBS_ASYNC_WAITER_H__