locationrequestmgmt/networkrequesthandler/src/lbsnrhmain.cpp
changeset 36 b47902b73a93
parent 0 9cfd9a3ee49c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationrequestmgmt/networkrequesthandler/src/lbsnrhmain.cpp	Fri Jun 04 10:34:15 2010 +0100
@@ -0,0 +1,38 @@
+// 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 "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:
+// Global entry point for the LBS Network Request Handler
+// 
+//
+
+/**
+ @file
+ @internalTechnology
+ @released
+*/
+#include <e32base.h>
+#include <e32test.h>
+// jcm #include "lbsnetworkrequesthandler.h"
+#include "lbsdevloggermacros.h"
+#include "csecureasbase.h"
+#include "tserverstartparams.h"
+
+TInt E32Main()
+	{
+	LBSLOG_BEGIN();
+	TServerStartParams params;
+	TPtr ptr(reinterpret_cast<TText*>(&params), 0, sizeof(TServerStartParams)/sizeof(TText16));
+	User::CommandLine(ptr);
+	TInt err = CSecureASBase::ServerMain(params);
+	return err;
+	}