kerneltest/f32test/shostmassstorage/msman/server/cusbhostsession.cpp
changeset 297 b2826f67641f
parent 0 a41df078684a
--- a/kerneltest/f32test/shostmassstorage/msman/server/cusbhostsession.cpp	Tue Oct 26 11:12:58 2010 +0100
+++ b/kerneltest/f32test/shostmassstorage/msman/server/cusbhostsession.cpp	Tue Oct 26 12:49:20 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of the License "Eclipse Public License v1.0"
@@ -12,7 +12,7 @@
 //
 // Description:
 // Implements a Session of a Symbian OS server for the RUsbMassStorage API
-// 
+//
 //
 
 
@@ -25,7 +25,6 @@
 #include <e32cmn.h>
 #include <e32base.h>
 
-#include "tmslog.h"
 #include "msmanclientserver.h"
 
 #include <f32file.h>
@@ -42,71 +41,62 @@
 
 
 CUsbHostSession* CUsbHostSession::NewL()
-	{
-    __MSFNSLOG
-	CUsbHostSession* r = new (ELeave) CUsbHostSession();
-	CleanupStack::PushL(r);
-	r->ConstructL();
-	CleanupStack::Pop();
-	return r;
-	}
+    {
+    CUsbHostSession* r = new (ELeave) CUsbHostSession();
+    CleanupStack::PushL(r);
+    r->ConstructL();
+    CleanupStack::Pop();
+    return r;
+    }
 
 
 CUsbHostSession::CUsbHostSession()
-	{
-    __MSFNSLOG
-
-	}
+    {
+    }
 
 void CUsbHostSession::ConstructL()
-	{
-    __MSFNSLOG
- 	}
+    {
+    }
 
 
 void CUsbHostSession::CreateL()
-	{
-    __MSFNSLOG
+    {
     Server().AddSession();
-	}
+    }
 
 
 CUsbHostSession::~CUsbHostSession()
-	{
-    __MSFNSLOG
+    {
     Server().RemoveSession();
-	}
+    }
 
 
 void CUsbHostSession::ServiceL(const RMessage2& aMessage)
-	{
-    __MSFNSLOG
-	DispatchMessageL(aMessage);
-	}
+    {
+    DispatchMessageL(aMessage);
+    }
 
 
 void CUsbHostSession::DispatchMessageL(const RMessage2& aMessage)
-	{
-    __MSFNSLOG
-	TInt ret = KErrNone;
+    {
+    TInt ret = KErrNone;
 
-	switch (aMessage.Function())
-		{
-	case EUsbHostStart:
-		ret = Start(aMessage);
-		break;
-	default:
-		aMessage.Panic(KUsbHostClientPncCat, EUsbHostPanicIllegalIPC);
-		break;
-		}
+    switch (aMessage.Function())
+        {
+    case EUsbHostStart:
+        ret = Start(aMessage);
+        break;
+    default:
+        aMessage.Panic(KUsbHostClientPncCat, EUsbHostPanicIllegalIPC);
+        break;
+        }
 
-	aMessage.Complete(ret);
-	}
+    aMessage.Complete(ret);
+    }
 
 
 TInt CUsbHostSession::Start(const RMessage2& aMessage)
-	{
-    __MSFNSLOG
+    {
     Server().iUsbHost->Start();
-	return KErrNone;
-	}
+    return KErrNone;
+    }