telephonyserverplugins/simtsy/SimTsyCPM/SimTsyCPM.cpp
branchopencode
changeset 24 6638e7f4bd8f
parent 0 3553901f7fa8
--- a/telephonyserverplugins/simtsy/SimTsyCPM/SimTsyCPM.cpp	Mon May 03 13:37:20 2010 +0300
+++ b/telephonyserverplugins/simtsy/SimTsyCPM/SimTsyCPM.cpp	Thu May 06 15:10:38 2010 +0100
@@ -1,59 +1,59 @@
-// Copyright (c) 2005-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:
-// The P&S properties used by Sim.Tsy are defined by this component.
-// 
-//
-
-/**
- @file
-*/
-
-#include <e32base.h>
-#include <e32property.h>
-#include <simtsy.h>
-
-/**
-This function defines all P&S properties used by Sim.Tsy.
-*/
-void InitSimTsyCpm()
-	{
-	TSecurityPolicy readPolicy(TSecurityPolicy::EAlwaysPass);
-	TSecurityPolicy writePolicy(TSecurityPolicy::EAlwaysPass);
-
-	RProperty::Define(KPSSimTsyTestNumber, KPSSimTsyTestNumberKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyTestNumberInUse, KPSSimTsyTestNumberInUseKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyIncomingVoiceCall, KPSSimTsyIncomingVoiceCallKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyIncomingDataCall, KPSSimTsyIncomingDataCallKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyRemoteHangup, KPSSimTsyRemoteHangupKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyRegStatChange, KPSSimTsyRegStatChangeKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyTimersReduceTime, KPSSimTsyTimersReduceTimeSignalKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyNetworkQoSChange, KPSSimTsyNetworkQoSChangeKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimtsyPacketServiceNtwkRegStatusChange, KPSSimtsyPacketServiceNtwkRegStatusChangeKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimtsyPacketContextStatusChange, KPSSimtsyPacketContextStatusChangeKeyType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyForceIncomingContextActivation, KPSSimTsyForceIncomingContextActivationType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsyMbmsService, KPSSimTsyMbmsServiceType, readPolicy, writePolicy);
-	RProperty::Define(KPSSimTsySignalStrengthChange, KPSSimTsySignalStrengthChangeKeyType, readPolicy, writePolicy); //this must be the LAST one to be defined
-	}
-
-/**
-Sim.Tsy's CPM thread entry point.
-*/
-EXPORT_C TInt SimTsyCpmThread(TAny*)
-	{
-	// Signal to the RootServer that init is completed successfully
-	RThread::Rendezvous(KErrNone);
-
-	InitSimTsyCpm();
-	return 0;
-	}
+// Copyright (c) 2005-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:
+// The P&S properties used by Sim.Tsy are defined by this component.
+// 
+//
+
+/**
+ @file
+*/
+
+#include <e32base.h>
+#include <e32property.h>
+#include <simtsy.h>
+
+/**
+This function defines all P&S properties used by Sim.Tsy.
+*/
+void InitSimTsyCpm()
+	{
+	TSecurityPolicy readPolicy(TSecurityPolicy::EAlwaysPass);
+	TSecurityPolicy writePolicy(TSecurityPolicy::EAlwaysPass);
+
+	RProperty::Define(KPSSimTsyTestNumber, KPSSimTsyTestNumberKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyTestNumberInUse, KPSSimTsyTestNumberInUseKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyIncomingVoiceCall, KPSSimTsyIncomingVoiceCallKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyIncomingDataCall, KPSSimTsyIncomingDataCallKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyRemoteHangup, KPSSimTsyRemoteHangupKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyRegStatChange, KPSSimTsyRegStatChangeKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyTimersReduceTime, KPSSimTsyTimersReduceTimeSignalKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyNetworkQoSChange, KPSSimTsyNetworkQoSChangeKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimtsyPacketServiceNtwkRegStatusChange, KPSSimtsyPacketServiceNtwkRegStatusChangeKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimtsyPacketContextStatusChange, KPSSimtsyPacketContextStatusChangeKeyType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyForceIncomingContextActivation, KPSSimTsyForceIncomingContextActivationType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsyMbmsService, KPSSimTsyMbmsServiceType, readPolicy, writePolicy);
+	RProperty::Define(KPSSimTsySignalStrengthChange, KPSSimTsySignalStrengthChangeKeyType, readPolicy, writePolicy); //this must be the LAST one to be defined
+	}
+
+/**
+Sim.Tsy's CPM thread entry point.
+*/
+EXPORT_C TInt SimTsyCpmThread(TAny*)
+	{
+	// Signal to the RootServer that init is completed successfully
+	RThread::Rendezvous(KErrNone);
+
+	InitSimTsyCpm();
+	return 0;
+	}