classicui_plat/grids_api/tsrc/inc/stifgridview.h
changeset 45 667edd0b8678
equal deleted inserted replaced
37:89c890c70182 45:667edd0b8678
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Test grids_api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_STIFGRIDVIEW_H
       
    20 #define C_STIFGRIDVIEW_H
       
    21 
       
    22 /*
       
    23  * Include files
       
    24  */
       
    25 #include <akngridview.h>
       
    26 
       
    27 /*
       
    28  * This class inherit from CAknGridView class for testing its protected function
       
    29  */
       
    30 class CStifGridView:public CAknGridView
       
    31     {
       
    32 public:
       
    33     /*
       
    34      * This function is wrote for testing CAknGridView's protected function
       
    35      */
       
    36     CAknGridM* DoGridModel() const;
       
    37     /*
       
    38      * This function is wrote for testing CAknGridView's protected function
       
    39      */
       
    40     void DoDoMoveL(TCursorMovement aCursorMovement, TSelectionMode aSelectionMode);
       
    41     /*
       
    42      * This function is wrote for testing CAknGridView's protected function
       
    43      */
       
    44     void DoDrawColumnRange(TInt aStartColIndex, TInt aEndColIndex) const;
       
    45     /*
       
    46      * This function is wrote for testing CAknGridView's protected function
       
    47      */
       
    48     void DoClearUnusedItemSpace(TInt aStartItemIndex, TInt aEndItemIndex) const;
       
    49     /*
       
    50      * This function is wrote for testing CAknGridView's protected function
       
    51      */
       
    52     void DoUpdateHScrollOffsetBasedOnTopItemIndex();
       
    53     /*
       
    54      * This function is wrote for testing CAknGridView's protected function
       
    55      */
       
    56     TBool DoItemExists(TInt aListBoxIndex) const;
       
    57     /*
       
    58      * This function is wrote for testing CAknGridView's protected function
       
    59      */
       
    60     TInt GetItemHeight();
       
    61     /*
       
    62      * This function is wrote for testing CAknGridView's protected function
       
    63      */
       
    64     TInt GetDataWidth();
       
    65     /*
       
    66      * This function is wrote for testing CAknGridView's protected function
       
    67      */
       
    68     TInt GetiHScrollOffset();
       
    69     };
       
    70 #endif
       
    71 
       
    72 /*
       
    73  * End file
       
    74  */