--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/locationtriggering/tsrc/lbtengine_test/TestHybridTriggers/inc/LbtAppCellInfo.h Tue Feb 02 01:06:48 2010 +0200
@@ -0,0 +1,93 @@
+/*
+* Copyright (c) 2006, 2007 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: Class definition for Time Manager
+*
+*/
+
+
+
+
+
+#ifndef C_LBTAPPCELLINFO_H
+#define C_LBTAPPCELLINFO_H
+
+
+#include <e32base.h>
+#include <flogger.h>
+#include <Etel3rdParty.h>
+#include <etelmm.h>
+
+
+
+/**
+ * This is a helper class that is utilized by strategy engine to initiate
+ * requests for notification once a designated interval of time has elapsed.
+ * This class also provides the interface to determine elapsed time
+ * (in microseconds).
+ */
+NONSHARABLE_CLASS( CLbtAppCgiRequestor ) : public CActive
+ {
+public:
+
+ /**
+ * Factory function that instantiates an object of CLbtStrategyTimeManager
+ */
+ static CLbtAppCgiRequestor* NewL(RFileLogger &aLog);
+
+ /**
+ * Destructor
+ */
+ ~CLbtAppCgiRequestor();
+
+public:
+
+ /**
+ * Initiates a request for notification after the specified time interval
+ * has elapsed
+ */
+ void Start(CActiveSchedulerWait* aWait);
+
+ CTelephony::TNetworkInfoV1Pckg CurrentCGI();
+
+ /**
+ * Cancels an outstanding request for notifications
+ */
+ void DoCancel();
+
+private:
+
+ /**
+ * Default constructor
+ */
+ CLbtAppCgiRequestor(RFileLogger &aLog);
+
+ /**
+ * 2nd phase constuctor for instantiating member variables
+ */
+ void ConstructL();
+
+ void RunL();
+private:
+
+ CTelephony::TNetworkInfoV1Pckg iNwInfoPckg;
+ CTelephony::TNetworkInfoV1 iNwInfo;
+
+ CTelephony *iTelephony;
+
+ RFileLogger &iLog;
+ CActiveSchedulerWait* iWait;
+
+ };
+
+#endif // C_LBTSTRATEGYTIMER_H