Пример #1
0
void TFileOutput::OverflowL()
//
// empty the buffer and reset the pointers
//
{
	FlushL();
	Set(iBuf,KBufSize);
}
// -----------------------------------------------------------------------------
// CHttpCacheStreamHandler::Flush
//
// -----------------------------------------------------------------------------
//
TBool CHttpCacheStreamHandler::Flush( CHttpCacheEntry& aCacheEntry )
    {
    TInt err( KErrNone );
    TBool bFlushed( EFalse );

    TRAP( err, bFlushed = FlushL( aCacheEntry ) );
    if ( err || !bFlushed )
        {
        return EFalse;
        }

    return ETrue;
    }