diff -r 000000000000 -r 2f259fa3e83a classicui_pub/grids_api/tsrc/inc/stifgridview.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/grids_api/tsrc/inc/stifgridview.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,74 @@ +/* +* Copyright (c) 2002 - 2007 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: Test grids_api +* +*/ + + +#ifndef C_STIFGRIDVIEW_H +#define C_STIFGRIDVIEW_H + +/* + * Include files + */ +#include + +/* + * This class inherit from CAknGridView class for testing its protected function + */ +class CStifGridView:public CAknGridView + { +public: + /* + * This function is wrote for testing CAknGridView's protected function + */ + CAknGridM* DoGridModel() const; + /* + * This function is wrote for testing CAknGridView's protected function + */ + void DoDoMoveL(TCursorMovement aCursorMovement, TSelectionMode aSelectionMode); + /* + * This function is wrote for testing CAknGridView's protected function + */ + void DoDrawColumnRange(TInt aStartColIndex, TInt aEndColIndex) const; + /* + * This function is wrote for testing CAknGridView's protected function + */ + void DoClearUnusedItemSpace(TInt aStartItemIndex, TInt aEndItemIndex) const; + /* + * This function is wrote for testing CAknGridView's protected function + */ + void DoUpdateHScrollOffsetBasedOnTopItemIndex(); + /* + * This function is wrote for testing CAknGridView's protected function + */ + TBool DoItemExists(TInt aListBoxIndex) const; + /* + * This function is wrote for testing CAknGridView's protected function + */ + TInt GetItemHeight(); + /* + * This function is wrote for testing CAknGridView's protected function + */ + TInt GetDataWidth(); + /* + * This function is wrote for testing CAknGridView's protected function + */ + TInt GetiHScrollOffset(); + }; +#endif + +/* + * End file + */