diff -r 000000000000 -r 2f259fa3e83a uifw/AknGlobalUI/AknCapServer/inc/AknFastswapWindowGrid.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uifw/AknGlobalUI/AknCapServer/inc/AknFastswapWindowGrid.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,69 @@ +/* +* 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: Grid handling the list functionality in fast application swap. +* +*/ + +#ifndef AKNFASTSWAPWINDOWGRID_H +#define AKNFASTSWAPWINDOWGRID_H + +// INCLUDES +#include +#include +#include + +/** + * Grid handling the list functionality in fast application swap + * Basically a listbox with a different item drawer. + */ +NONSHARABLE_CLASS(CAknFastSwapWindowGrid): public CAknGrid + { + public: // Functions from base classes + /** + * From CCoeControl. + */ + void SizeChanged(); + + /** + * From CAknGrid/CEikFormattedCellListBox. + */ + void CreateItemDrawerL(); + + /** + * From CAknGrid/CEikFormattedCellListBox. + */ + void HandleItemRemovalL(); + + void UpdateScrollBarsL(); + + private: + /** + * Color and border setting. + */ + void SetupStandardGrid(); + + /** + * From CCoeControl Method handling the pointer events while the fsw is used. + * @param aPointerEvent Information about the event. + */ + void HandlePointerEventL( const TPointerEvent &aPointerEvent ); + + private: // listbox use only + IMPORT_C virtual void CEikListBox_Reserved(); + + }; + +#endif // AKNFSGRID_H + +// End of File