diff -r 3ff3fecb12fe -r 6a82cd05fb1e memana/analyzetoolclient/configurationappgui/inc/atconfigurationappguisettingitemlistview.h --- a/memana/analyzetoolclient/configurationappgui/inc/atconfigurationappguisettingitemlistview.h Thu Feb 11 15:52:57 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,123 +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 ATCONFIGURATIONAPPGUISETTINGITEMLISTVIEW_H -#define ATCONFIGURATIONAPPGUISETTINGITEMLISTVIEW_H - -// INCLUDES -#include -#include "atconfigurationappguisettingitemlistsettings.h" - -// FORWARD DECLARATIONS -class CATConfigurationAppGuiSettingItemList; - -/** - * Avkon view class for CATConfigurationAppGuiSettingItemListView. It is register with the view server - * by the AppUi. It owns the container control. - * @class CATConfigurationAppGuiSettingItemListView - */ - -class CATConfigurationAppGuiSettingItemListView : public CAknView - { -public: - /** - * C++ default constructor. - */ - CATConfigurationAppGuiSettingItemListView(); - - /** - * Two-phased constructor that can leave. - * @return A new instance of this class - */ - static CATConfigurationAppGuiSettingItemListView* NewL(); - - /** - * Two-phased constructor that can leave and leaves a pointer - * on the cleanup stack. - * @return A new instance of this class - */ - static CATConfigurationAppGuiSettingItemListView* NewLC(); - - /** - * Symbian 2nd phase constructor. - */ - void ConstructL(); - - /** - * Destructor. - */ - virtual ~CATConfigurationAppGuiSettingItemListView(); - - /** - * From CAknView. - */ - TUid Id() const; - - /** - * From CAknView. - */ - void HandleCommandL( TInt aCommand ); - -protected: - - /** - * From CAknView. - */ - void DoActivateL( - const TVwsViewId& aPrevViewId, - TUid aCustomMessageId, - const TDesC8& aCustomMessage ); - - /** - * From CAknView. - */ - void DoDeactivate(); - - /** - * Setups status pane according to the screen size. - */ - void HandleStatusPaneSizeChange(); - - /** - * Handles changing of a selected setting item. - * @param aCommand command id - * @return TBool ETrue if setting change successful - */ - TBool HandleChangeSelectedSettingItemL( TInt aCommand ); - -private: - - /** - * Setups status pane. - */ - void SetupStatusPaneL(); - - /** - * Clears status pane and frees resources from it. - */ - void CleanupStatusPane(); - - // Setting item list - CATConfigurationAppGuiSettingItemList* iATConfigUISettingItemList; - // Values of the settings - CATConfigurationAppGuiSettingItemListSettings* iSettings; - // Id of the view which was previously active - TUid iLastViewId; - - }; - -#endif // ATCONFIGURATIONAPPGUISETTINGITEMLISTVIEW_H