persistentstorage/sql/SRC/Server/IPC/IPCStream.inl
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    29 inline HIpcStream::HIpcStream(MStreamBuf* aHost, TInt aReadPos):
    29 inline HIpcStream::HIpcStream(MStreamBuf* aHost, TInt aReadPos):
    30 	iHost(*aHost),
    30 	iHost(*aHost),
    31 	iRPos(aReadPos),
    31 	iRPos(aReadPos),
    32 	iWPos(0)
    32 	iWPos(0)
    33 	{
    33 	{
    34 	__ASSERT_DEBUG(aHost != NULL, __SQLPANIC(ESqlPanicInternalError));
    34 	__SQLASSERT(aHost != NULL, ESqlPanicInternalError);
    35 	}
    35 	}
    36 
    36 
    37 /**
    37 /**
    38 Relases the stream buffer.
    38 Relases the stream buffer.
    39 */
    39 */