First public contribution.
2 * Copyright (c) 2008-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.
16 * Part of : stdio server
17 * Null File stream for Stdio Redirection app
24 #ifndef _NULLSTREAM_H_
25 #define _NULLSTREAM_H_
27 #include "streambase.h"
29 //-----------------------------------------------------------------------
30 //Class name: CNullStream
31 //Description: This class represents the Null File stream abstraction.
32 //-----------------------------------------------------------------------
33 class CNullStream : public CStreamBase
36 static CNullStream* NewL( );
38 virtual void WriteL(TDes8& aDes);
39 virtual void Read(TRequestStatus& aStatus, const TInt aLength);
40 virtual void ReadCancel() {}
41 TStreamType Type() { return ENull;}
48 #endif //_NULLSTREAM_H_