diff -r eb1f2e154e89 -r f5a1e66df979 textinput/peninputfingerhwrar/inc/hbufcarrayar.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textinput/peninputfingerhwrar/inc/hbufcarrayar.h Fri Feb 19 23:09:27 2010 +0200 @@ -0,0 +1,99 @@ +/* +* Copyright (c) 2005-2008 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: wrapper of HBufC Array. +* +*/ + + +#ifndef C_HBUFCARRAYAR_H +#define C_HBUFCARRAYAR_H + +// INCLUDES +#include +#include +#include + +// CLASS DECLARATION + +/** + * class CHBufCArray + * + * Wrapper of HBufC Array. + * + * @lib peninputfingerhwr.lib + * @since S60 v5.0 + */ +class CHBufCArray : public CBase + { +public: + /** + * Symbian constructor. + * + * @since S60 v5.0 + * @return Pointer to created CHBufCArray object + */ + static CHBufCArray* NewL(); + + /** + * Symbian constructor. + * + * @since S60 v5.0 + * @return Pointer to created CHBufCArray object + */ + static CHBufCArray* NewLC(); + + /** + * standard c++ destructor. + * + * @since S60 v5.0 + * @return None + */ + ~CHBufCArray(); + + /** + * get array. + * + * @since S60 v5.0 + * @return ref of array. + */ + RPointerArray& Array(); + +private: + + /** + * C++ default constructor + * + * @since S60 v5.0 + * @return None + */ + CHBufCArray(); + + /** + * Symbian second-phase constructor + * + * @since S60 v5.0 + * @return None + */ + void ConstructL(); + +private: + /** + * HBufC Array. + */ + RPointerArray iHBufCArray; + }; + +#endif // C_HBUFCARRAYAR_H + +// End Of File