equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-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 #ifndef __T_HINTEXTENSION__ |
|
17 #define __T_HINTEXTENSION__ |
|
18 |
|
19 #include <cntview.h> |
|
20 |
|
21 |
|
22 |
|
23 class CViewTester : public CActive, public MContactViewObserver |
|
24 { |
|
25 public: |
|
26 static CViewTester* NewLC(); |
|
27 ~CViewTester(); |
|
28 |
|
29 //MContactViewObserver implementation |
|
30 void HandleContactViewEvent(const CContactViewBase& aView,const TContactViewEvent& aEvent); |
|
31 |
|
32 void CreateFilterViewsL(); |
|
33 private: |
|
34 CViewTester() : CActive(EPriorityStandard) {}; |
|
35 |
|
36 // From CActive. |
|
37 void RunL() {}; |
|
38 void DoCancel() {}; |
|
39 |
|
40 CContactDatabase* iDatabase; |
|
41 |
|
42 CContactNamedRemoteView* iCNRView; |
|
43 CContactFilteredView* iRingToneView; |
|
44 CContactFilteredView* iVoiceDialView; |
|
45 TInt iEventsReceived; |
|
46 }; |
|
47 |
|
48 #endif |