equal
deleted
inserted
replaced
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 @test |
|
20 */ |
|
21 #if !defined(__CMAPPGroupVIEW_H__) |
|
22 #define __CMAPPGroupVIEW_H__ |
|
23 |
|
24 #include "CMLSTVW.H" |
|
25 |
|
26 |
|
27 class CContactsManAppGroupView : public CContactsManListView |
|
28 { |
|
29 public: |
|
30 static CContactsManAppGroupView* NewL(CCoeControl& aContainer,CContactsAppModel& aModel); |
|
31 TInt CurrentItemIndex(); |
|
32 TInt NumberOfItems(); |
|
33 private: |
|
34 CContactsManAppGroupView(CContactsAppModel& aModel,TContactsListViewPrefs* aPreferences); |
|
35 void NewGroupL(); |
|
36 // from CContactsManViewBase |
|
37 virtual void HandleModelChangeL(TBool aCountChanged); |
|
38 virtual TBool HandleCommandL(TInt aCommand); |
|
39 virtual TUid ViewUid() const; |
|
40 //from MCoeView |
|
41 virtual void ViewActivatedL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage); |
|
42 virtual void ViewDeactivated(); |
|
43 // from CCoeControl |
|
44 virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
|
45 void ConstructL(CCoeControl& aContainer); |
|
46 }; |
|
47 |
|
48 #endif // __CMAPPGroupVIEW_H__ |
|