remotemgmt_plat/syncml_ds_customization_api/tsrc/SyncFwCustomizer/inc/SyncFwCustomizerSettingItemListView.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SYNCFWCUSTOMIZERSETTINGITEMLISTVIEW_H
       
    19 #define SYNCFWCUSTOMIZERSETTINGITEMLISTVIEW_H
       
    20 
       
    21 #include <aknview.h>
       
    22 #include "SyncFwCustomizerSettingItemListSettings.h"
       
    23 
       
    24 class CRepository;
       
    25 class CSyncFwCustomizerSettingItemList;
       
    26 
       
    27 /**
       
    28  * Avkon view class for SyncFwCustomizerSettingItemListView. It is register with the view server
       
    29  * by the AppUi. It owns the container control.
       
    30  * @class	CSyncFwCustomizerSettingItemListView SyncFwCustomizerSettingItemListView.h
       
    31  */						
       
    32 			
       
    33 class CSyncFwCustomizerSettingItemListView : public CAknView
       
    34 	{
       
    35 	
       
    36 public:
       
    37 	// constructors and destructor
       
    38 	CSyncFwCustomizerSettingItemListView();
       
    39 	static CSyncFwCustomizerSettingItemListView* NewL();
       
    40 	static CSyncFwCustomizerSettingItemListView* NewLC();        
       
    41 	void ConstructL();
       
    42 	virtual ~CSyncFwCustomizerSettingItemListView();
       
    43 						
       
    44 	// from base class CAknView
       
    45 	TUid Id() const;
       
    46 	void HandleCommandL( TInt aCommand );
       
    47 	
       
    48 protected:
       
    49 	// from base class CAknView
       
    50 	void DoActivateL(
       
    51 		const TVwsViewId& aPrevViewId,
       
    52 		TUid aCustomMessageId,
       
    53 		const TDesC8& aCustomMessage );
       
    54 	void DoDeactivate();
       
    55 	void HandleStatusPaneSizeChange();
       
    56 	TBool HandleChangeSelectedSettingItemL();
       
    57 	TBool ResetSelectedSettingItemL();
       
    58 	TBool StartSyncL();
       
    59 
       
    60 private:
       
    61 	void SetupStatusPaneL();
       
    62 	void CleanupStatusPane();
       
    63 
       
    64 private:	
       
    65 	CSyncFwCustomizerSettingItemList* iSyncFwCustomizerSettingItemList;
       
    66 	TSyncFwCustomizerSettingItemListSettings* iSettings;
       
    67 	CRepository* iRepository;
       
    68 	};
       
    69 
       
    70 #endif // SYNCFWCUSTOMIZERSETTINGITEMLISTVIEW_H