diff -r 8ce15fced3a6 -r cad71a31b7fc srsf/vcommandhandler/inc/desarrayconverter.h --- a/srsf/vcommandhandler/inc/desarrayconverter.h Thu Aug 19 09:56:14 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -/* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: A utility class for converting arrays to descriptors and vise versa -* -*/ - - - -#ifndef DESARRAYCONVERTER_H -#define DESARRAYCONVERTER_H - -#include // NssRRDText - -/** -* A utility class for converting arrays to descriptors and vise versa -*/ -class CDesArrayConverter : public CBase - { - public: - /** - * Converts the stream data into the array of fixed size descriptors - * @param aSource 8-bit descriptor to convert - */ - static CArrayFixFlat* DesC8ToArrayLC( const TDesC8& aSource ); - - /** - * Constructs DesC8 descriptor from the given array slice. Almost a - * counterpart of the DesC8ToArrayLC - * @param aArray Array to convert - * @param aStartIndex First element to convert. Zero-based - * @param aCount number of elements to convert. - * @leave KErrArgument if aStartIndex or aCount are out of the array bounds - */ - static TDesC8* ArrayToDesC8LC( const CArrayFixFlat& aArray, - TInt aStartIndex, TInt aCount ); - }; - -#endif // DESARRAYCONVERTER_H \ No newline at end of file