mtpfws/mtpintegrationtest/integration/mtpmodeselector/inc/CMAppGroupView.H
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:46:41 +0200
branchRCL_3
changeset 11 4843bb5893b6
parent 6 f8e15b44d440
permissions -rw-r--r--
Revision: 201004 Kit: 201008

// Copyright (c) 1997-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:
//

/**
 @file
 @internalComponent 
 @test
*/
#if !defined(__CMAPPGroupVIEW_H__)
#define __CMAPPGroupVIEW_H__

#include "CMLSTVW.H"


class CContactsManAppGroupView : public CContactsManListView
	{
public:
	static CContactsManAppGroupView* NewL(CCoeControl& aContainer,CContactsAppModel& aModel);
	TInt CurrentItemIndex();
	TInt NumberOfItems();
private:
	CContactsManAppGroupView(CContactsAppModel& aModel,TContactsListViewPrefs* aPreferences);
	void NewGroupL();
// from CContactsManViewBase
	virtual void HandleModelChangeL(TBool aCountChanged);
	virtual TBool HandleCommandL(TInt aCommand);		
	virtual TUid ViewUid() const;
//from 	MCoeView
	virtual void ViewActivatedL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
	virtual void ViewDeactivated();
// from CCoeControl
	virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
	void ConstructL(CCoeControl& aContainer);
	};

#endif // __CMAPPGroupVIEW_H__