First public contribution.
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Name : stdioserver.h
16 * Part of : stdio server
17 * To implement the server
26 #ifndef __STDIOSERVER_H__
27 #define __STDIOSERVER_H__
35 Messages supported by server.
52 _LIT(KServerName,"StdioServer");
56 A version must be specified when creating a session with the server
58 const TUint KStdioServMajorVersionNumber=1;
60 const TUint KStdioServMinorVersionNumber=0;
62 const TUint KStdioServBuildVersionNumber=0;
65 //-----------------------------------------------------------------------
66 //Class name: CStdioServer
67 //Description: Implements the STDIO redirection server.
68 // This class handles all redirection requests from client
70 //-----------------------------------------------------------------------
72 class CStdioServer : public CServer2
75 static CServer2* NewL();
76 static RFs& FsSession();
77 static RCommServ& CsSession();
80 void SetStreamFactory();
84 CStdioServer(CActive::TPriority aPriority);
85 CSession2* NewSessionL(const TVersion&,const RMessage2&)const;
93 #endif //__STDIOSERVER_H__