locationrequestmgmt/networkrequesthandler/inc/lbsnetworkrequesthandler.h
changeset 0 9cfd9a3ee49c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/networkrequesthandler/inc/lbsnetworkrequesthandler.h	Tue Feb 02 01:50:39 2010 +0200
@@ -0,0 +1,73 @@
+/**
+* Copyright (c) 2007-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:
+*
+*/
+
+
+
+/**
+ @file
+ @internalComponent
+ @released
+*/
+
+#ifndef _NETWORKREQUESTHANDLER_H 
+#define _NETWORKREQUESTHANDLER_H
+
+class CTestNetworkGateway;
+class CLbsAdmin;
+class CNGMessageSwitch;
+class CPrivacyAndLocationHandler;
+class CNrhServer;
+class CX3pHandler;
+class MNrhServerObserver;
+
+#include "lbsrootapi.h"
+#include "lbsnetregstatusint.h"
+
+#if defined(_DEBUG)
+#include "LbsOomListener.h"
+#endif
+
+class CLbsNetworkRequestHandler : public CBase
+    {
+public:
+    static CLbsNetworkRequestHandler* NewL(CNrhServer* aNrhServer);
+    ~CLbsNetworkRequestHandler();
+    
+public:
+	CLbsAdmin* Admin() const;
+	RLbsNetworkRegistrationStatus& NetworkRegistrationStatus();
+
+protected:
+    CLbsNetworkRequestHandler(CNrhServer* aNrhServer);
+    void ConstructL();    
+    
+private:
+	CLbsAdmin*                  iAdmin;
+	CNGMessageSwitch*           iNgMessageSwitch;
+	CPrivacyAndLocationHandler* iPrivLocHandler;
+	// iNrhServer is used to register relevant subcomponent classes for
+	// server callbacks 
+	CNrhServer*					iNrhServer;
+	CX3pHandler*				iX3pHandler;
+	RLbsNetworkRegistrationStatus iNetRegStatus;
+	
+#if defined(_DEBUG)
+	CLbsOomListener*			iOomListener;
+#endif	
+    };
+    
+#endif // _NETWORKREQUESTHANDLER_H