phoneclientserver/phoneclient/Src/Session/RPhCltServer.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
parent 0 ff3b6d0fd310
child 20 987c9837762f
--- a/phoneclientserver/phoneclient/Src/Session/RPhCltServer.cpp	Thu Aug 19 10:28:14 2010 +0300
+++ b/phoneclientserver/phoneclient/Src/Session/RPhCltServer.cpp	Tue Aug 31 15:45:17 2010 +0300
@@ -20,9 +20,9 @@
 // INCLUDE FILES
 #include    <e32math.h>
 #include    <e32uid.h>
-#include    "PhCltTypes.h"
-#include    "RPhCltServer.h"
-#include    "PhCltClientServer.h"
+#include    "phclttypes.h" 
+#include    "rphcltserver.h" 
+#include    "phcltclientserver.h" 
 
 // CONSTANTS
 
@@ -163,25 +163,25 @@
     // thread dies for any reason.
 
 
-	TRequestStatus stat;
-	serverUnitOfExecution.Rendezvous( stat );
- 	if ( stat != KRequestPending )
+    TRequestStatus stat;
+    serverUnitOfExecution.Rendezvous( stat );
+    if ( stat != KRequestPending )
         {
         User::Panic( PH_SRV_SU_FAILURE, EPhSrvStartupFailurePhase1 );
 
- 		serverUnitOfExecution.Kill( KErrAbort );	// abort startup
+        serverUnitOfExecution.Kill( KErrAbort );    // abort startup
         }
- 	else
+    else
         {
- 		serverUnitOfExecution.Resume();	// logon ok
+        serverUnitOfExecution.Resume(); // logon ok
         }
 
     // wait for start or death
- 	User::WaitForRequest( stat ); 
- 	// we can't use the 'exit reason' if the server panicked as this
- 	// is the panic 'reason' and may be '0' which cannot be distinguished
- 	// from KErrNone
- 	err = ( serverUnitOfExecution.ExitType() == EExitPanic ) 
+    User::WaitForRequest( stat ); 
+    // we can't use the 'exit reason' if the server panicked as this
+    // is the panic 'reason' and may be '0' which cannot be distinguished
+    // from KErrNone
+    err = ( serverUnitOfExecution.ExitType() == EExitPanic ) 
         ? KErrGeneral : stat.Int();
 
     serverUnitOfExecution.Close();