telephonyprotocols/pdplayer/inc/PDPCPR.h
branchopencode
changeset 24 6638e7f4bd8f
parent 0 3553901f7fa8
--- a/telephonyprotocols/pdplayer/inc/PDPCPR.h	Mon May 03 13:37:20 2010 +0300
+++ b/telephonyprotocols/pdplayer/inc/PDPCPR.h	Thu May 06 15:10:38 2010 +0100
@@ -1,90 +1,90 @@
-// Copyright (c) 2008-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:
-// PDP Connection Provider class definition.
-// 
-//
-
-/**
- @file
- @internalComponent
-*/
-
-#ifndef SYMBIAN_PPDCPR_H
-#define SYMBIAN_PDPCPR_H
-
-#include <comms-infras/corecpr.h>
-#include <comms-infras/corecprstates.h>
-#include "pdpcpravailabilitylistener.h"
-#include "MPDPCPRBearerObserver.h"
-
-class CPDPConnectionProvider;
-class CPDPConnectionProviderFactory;
-
-namespace PDPCprActivities
-    {
-    DECLARE_ACTIVITY_MAP(activityMap)
-    }
-
-
-
-namespace PDPCprStates
-{
-typedef MeshMachine::TNodeContext<CPDPConnectionProvider, CprStates::TContext> TContext;
-
-DECLARE_SMELEMENT_HEADER( TUpdateBundle, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPCprStates::TContext)
-	virtual void DoL();
-DECLARE_SMELEMENT_FOOTER( TUpdateBundle)
-
-DECLARE_AGGREGATED_TRANSITION2(
-   TUpdateBundleAndRespondWithRetrievedParams,
-   TUpdateBundle,
-   PRStates::TRespondWithRetrievedParams
-   )
-
-}
-
-
-class CPDPConnectionProvider : public CCoreConnectionProvider, MPDPCPRBearerObserver
-/** PDP connection provider
-
-@internalTechnology
-*/
-    {
-	friend class CPDPConnectionProviderFactory;
-	friend class PDPCprStates::TUpdateBundle;
-
-public:
-    typedef CPDPConnectionProviderFactory FactoryType;
-	
-	static CPDPConnectionProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
-	
-	virtual void BearerChangeDetectedL();
-	
-protected:	
-    CPDPConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory);
-    void StartListener();
-    void StopListener();
-    TUint32 Bearer(TUint aDynamicCaps, RMobilePhone::TMobilePhoneNetworkMode& aNetworkMode);
-    void UpdateBearer();
-    virtual ~CPDPConnectionProvider();
-    virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
-	void ConstructL();
-private:
-	CPDPCPRDynamicCapsListener* iDynamicCapsEventListener;
-	CPDPCPRNetworkModeListener* iNetworkModeEventListener;
-	TUint32 iBearerType;
-	TBool iBearerSet;
-    };
-
-#endif //SYMBIAN_PDPCPR_H
+// Copyright (c) 2008-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:
+// PDP Connection Provider class definition.
+// 
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef SYMBIAN_PPDCPR_H
+#define SYMBIAN_PDPCPR_H
+
+#include <comms-infras/corecpr.h>
+#include <comms-infras/corecprstates.h>
+#include "pdpcpravailabilitylistener.h"
+#include "MPDPCPRBearerObserver.h"
+
+class CPDPConnectionProvider;
+class CPDPConnectionProviderFactory;
+
+namespace PDPCprActivities
+    {
+    DECLARE_ACTIVITY_MAP(activityMap)
+    }
+
+
+
+namespace PDPCprStates
+{
+typedef MeshMachine::TNodeContext<CPDPConnectionProvider, CprStates::TContext> TContext;
+
+DECLARE_SMELEMENT_HEADER( TUpdateBundle, MeshMachine::TStateTransition<TContext>, NetStateMachine::MStateTransition, PDPCprStates::TContext)
+	virtual void DoL();
+DECLARE_SMELEMENT_FOOTER( TUpdateBundle)
+
+DECLARE_AGGREGATED_TRANSITION2(
+   TUpdateBundleAndRespondWithRetrievedParams,
+   TUpdateBundle,
+   PRStates::TRespondWithRetrievedParams
+   )
+
+}
+
+
+class CPDPConnectionProvider : public CCoreConnectionProvider, MPDPCPRBearerObserver
+/** PDP connection provider
+
+@internalTechnology
+*/
+    {
+	friend class CPDPConnectionProviderFactory;
+	friend class PDPCprStates::TUpdateBundle;
+
+public:
+    typedef CPDPConnectionProviderFactory FactoryType;
+	
+	static CPDPConnectionProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
+	
+	virtual void BearerChangeDetectedL();
+	
+protected:	
+    CPDPConnectionProvider(ESock::CConnectionProviderFactoryBase& aFactory);
+    void StartListener();
+    void StopListener();
+    TUint32 Bearer(TUint aDynamicCaps, RMobilePhone::TMobilePhoneNetworkMode& aNetworkMode);
+    void UpdateBearer();
+    virtual ~CPDPConnectionProvider();
+    virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
+	void ConstructL();
+private:
+	CPDPCPRDynamicCapsListener* iDynamicCapsEventListener;
+	CPDPCPRNetworkModeListener* iNetworkModeEventListener;
+	TUint32 iBearerType;
+	TBool iBearerSet;
+    };
+
+#endif //SYMBIAN_PDPCPR_H