genericopenlibs/openenvcore/backend/src/StdioRedir/Server/StdioServer.cpp
changeset 44 97b0fb8a2cc2
parent 0 e4d67989cc36
child 57 2efc27d87e1c
equal deleted inserted replaced
22:ddc455616bd6 44:97b0fb8a2cc2
   133 //--------------------------------------------------------------------------------
   133 //--------------------------------------------------------------------------------
   134 
   134 
   135 
   135 
   136 void CStdioServer::ConstructL()
   136 void CStdioServer::ConstructL()
   137 	{
   137 	{
   138 	StartL(KServerName);
   138     TInt rf = KErrNone; 
   139 	iFs.Connect();
   139     TInt rc = KErrNone;
   140 	iCs.Connect();
   140     StartL(KServerName);
       
   141     rf = iFs.Connect();
       
   142     if (rf != KErrNone)
       
   143         {
       
   144             User::Leave(rf);
       
   145         }
       
   146     rc = iCs.Connect();
       
   147     if (rc != KErrNone)
       
   148         {
       
   149             User::Leave(rc);
       
   150         }
   141 	iShutDown = CShutDown::NewL();
   151 	iShutDown = CShutDown::NewL();
   142 	iShutDown->Start();
   152 	iShutDown->Start();
   143 	}
   153 	}
   144 
   154 
   145 	
   155