diff -r 5db69f4c3d06 -r b048e15729d6 piprofilerui/ui/avkon/inc/profiler_gui_maincontainer.h --- a/piprofilerui/ui/avkon/inc/profiler_gui_maincontainer.h Mon Aug 23 15:50:54 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ -/* -* Copyright (c) 2009 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: -* -*/ - - - -#ifndef PROFILER_GUI_VALUESCONTAINER_H -#define PROFILER_GUI_VALUESCONTAINER_H - -// INCLUDES -#include -#include -#include -#include - -// FORWARD DECLARATIONS -class CProfilerGuiModel; -class CAknInfoPopupNoteController; - -// CLASS DECLARATIONS - -class CProfilerGuiMainContainer : public CCoeControl, MCoeControlObserver, MEikListBoxObserver - { -public: - void ConstructL(const TRect& aRect); - ~CProfilerGuiMainContainer(); - -private: - void SizeChanged(); - TInt CountComponentControls() const; - CCoeControl* ComponentControl(TInt aIndex) const; - void Draw(const TRect& aRect) const; - void HandleResourceChange(TInt aType); - void HandleListBoxEventL(CEikListBox* aListBox, TListBoxEvent aEventType); // From MEikListBoxObserver - void HandleControlEventL(CCoeControl* aControl,TCoeEvent aEventType); // From MCoeControlObserver - TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType); - -public: - const CArrayFix* ListBoxSelectionIndexes(); - TInt ListBoxSelectionIndexesCount(); - void SetDefaultTitlePaneTextL(); - TInt CurrentListBoxItemIndex(); - void SetListBoxTextArrayL(CDesCArray* aTextArray); - inline CAknSingleGraphicStyleListBox* ListBox() { return iListBox; } - void ShowWriterInfoPopupL(const TDesC& aNote); -private: - CProfilerGuiModel* iModel; - CAknSingleGraphicStyleListBox* iListBox; - CAknInfoPopupNoteController* iInfoPopup; - }; - -#endif - -// End of File